Discussion:
[LyX/master] #9130 Text in main work area isn't rendered with high resolution Add a LyX banner with double resolution for displays with high resolution.
Jürgen Spitzmüller
2014-10-18 14:26:40 UTC
Permalink
#9130 Text in main work area isn't rendered with high resolution
Add a LyX banner with double resolution for displays with high
resolution.
Why not SVG?

Jürgen
Stephan Witt
2014-10-18 14:42:39 UTC
Permalink
Post by Jürgen Spitzmüller
#9130 Text in main work area isn't rendered with high resolution
Add a LyX banner with double resolution for displays with high
resolution.
Why not SVG?
1) I don't know of a SVG version of it.
2) The SVG option for high resolution images needs some additional work.

Stephan
Stephan Witt
2014-10-18 15:18:33 UTC
Permalink
Post by Stephan Witt
Post by Jürgen Spitzmüller
Why not SVG?
1) I don't know of a SVG version of it.
2) The SVG option for high resolution images needs some additional work.
Is it really that much work (I mean for the banner, not the icons)?
The work I'm talking about is the implementation and choice of the correct size mapping.
create a new vector version anyway, if we do not have one.
Yes, of course. I've made it for demonstration purpose and I'm not that proud of it.
BTW it seems the banner was contributed by Joost.
Yes, I've asked for it in the past already. And I didn't get it -
so someone has to recreate it from scratch or make another one.

Stephan
Enrico Forestieri
2014-10-19 15:04:38 UTC
Permalink
commit 6fdb32958c6f0e7397455734c207790468c2da6c
Date: Sat Oct 18 15:57:21 2014 +0200
#9130 Text in main work area isn't rendered with high resolution
Add a LyX banner with double resolution for displays with high resolution.
Stephan, after this series of commits, the version info on the splash
screen is misplaced and also the size of the text is wrong (see attached
screen shot).

This occurs with Qt 5.3.2 and does not occur with Qt 4.8.6.
Tested on both Linux and Windows.
--
Enrico
Stephan Witt
2014-10-19 15:40:00 UTC
Permalink
Post by Enrico Forestieri
commit 6fdb32958c6f0e7397455734c207790468c2da6c
Date: Sat Oct 18 15:57:21 2014 +0200
#9130 Text in main work area isn't rendered with high resolution
Add a LyX banner with double resolution for displays with high resolution.
Stephan, after this series of commits, the version info on the splash
screen is misplaced and also the size of the text is wrong (see attached
screen shot).
This occurs with Qt 5.3.2 and does not occur with Qt 4.8.6.
Tested on both Linux and Windows.
--
Enrico
<splash.png>
Ok, I couldn't test it on Linux with Qt 5.x. I think I know what to do here.
What's your software stack for Qt5.x on Linux?

Stephan
Kornel Benko
2014-10-19 18:04:41 UTC
Permalink
Post by Stephan Witt
Post by Enrico Forestieri
commit 6fdb32958c6f0e7397455734c207790468c2da6c
Date: Sat Oct 18 15:57:21 2014 +0200
#9130 Text in main work area isn't rendered with high resolution
Add a LyX banner with double resolution for displays with high resolution.
Stephan, after this series of commits, the version info on the splash
screen is misplaced and also the size of the text is wrong (see attached
screen shot).
This occurs with Qt 5.3.2 and does not occur with Qt 4.8.6.
Tested on both Linux and Windows.
Ok, I couldn't test it on Linux with Qt 5.x. I think I know what to do here.
What's your software stack for Qt5.x on Linux?
Stephan
Same (wrong) effect linux + qt 5.2.1

Kornel
Enrico Forestieri
2014-10-19 20:17:23 UTC
Permalink
Post by Stephan Witt
Ok, I couldn't test it on Linux with Qt 5.x. I think I know what to do here.
What's your software stack for Qt5.x on Linux?
Debian stable, if that's what you mean by software stack.
--
Enrico
Stephan Witt
2014-10-20 06:39:12 UTC
Permalink
Post by Enrico Forestieri
Post by Stephan Witt
Ok, I couldn't test it on Linux with Qt 5.x. I think I know what to do here.
What's your software stack for Qt5.x on Linux?
Debian stable, if that's what you mean by software stack.
Ok, thank you.

What I mean is: I'm used to rpm based systems on Linux. I'm using RedHat or CentOS if possible.
I read that on CentOS 6.5 Qt5 is a problem. So I tried it with my Ubuntu Box and couldn't find
how to get a Qt5 developer system ready. I'm not familiar with dpkg and apt. So it needs time
to setup such a system - I thought it may save some time if I ask.

Stephan
Stephan Witt
2014-10-20 08:18:29 UTC
Permalink
Post by Stephan Witt
Post by Enrico Forestieri
Post by Stephan Witt
Ok, I couldn't test it on Linux with Qt 5.x. I think I know what to do here.
What's your software stack for Qt5.x on Linux?
Debian stable, if that's what you mean by software stack.
Ok, thank you.
What I mean is: I'm used to rpm based systems on Linux. I'm using RedHat or CentOS if possible.
I read that on CentOS 6.5 Qt5 is a problem. So I tried it with my Ubuntu Box and couldn't find
how to get a Qt5 developer system ready. I'm not familiar with dpkg and apt. So it needs time
to setup such a system - I thought it may save some time if I ask.
It doesn't work on my system - an Ubuntu 12.04 upgraded to 14.04 TLS.
There are compatibility problems with boost and Qt5 I cannot solve.
I think (LyX with) Qt5 on Linux is not ready for production… at least on Ubuntu 14.04 TLS.

This is what I did after Ubuntu upgrade:

$ uname -a
Linux ubuntu 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:30:01 UTC 2014 i686 i686 i686 GNU/Linux
$ cat /etc/debian_version
jessie/sid

$ cd $HOME/lyx-build
$ sudo apt-get install libqt5x11extras5-dev
# This installs many Qt5 developer packages too...
$ PATH=/usr/lib/i386-linux-gnu/qt5/bin:$PATH sh ../LyX-2.2-2.2.0dev/configure --enable-qt5
$ PATH=/usr/lib/i386-linux-gnu/qt5/bin:$PATH make
...
CXX docstring.o
In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0,
from /usr/include/qt5/QtCore/qfiledevice.h:45,
from /usr/include/qt5/QtCore/qfile.h:45,
from /usr/include/qt5/QtCore/QFile:1,
from ../../../LyX-2.2-2.2.0dev/src/support/docstring.cpp:20:
/usr/include/qt5/QtCore/qglobal.h:1008:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC or -fPIE."
# error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
^
make[5]: *** [docstring.o] Fehler 1

$ rm -rf *
$ CPPFLAGS=-fPIC PATH=/usr/lib/i386-linux-gnu/qt5/bin:$PATH sh ../LyX-2.2-2.2.0dev/configure --enable-qt5
$ PATH=/usr/lib/i386-linux-gnu/qt5/bin:$PATH make
...
CXX lyxtime.o
In file included from /usr/include/c++/4.8/bits/concept_check.h:55:0,
from /usr/include/c++/4.8/bits/move.h:34,
from /usr/include/c++/4.8/bits/stl_pair.h:59,
from /usr/include/c++/4.8/bits/stl_algobase.h:64,
from /usr/include/c++/4.8/bits/char_traits.h:39,
from /usr/include/c++/4.8/string:40,
from ../../../LyX-2.2-2.2.0dev/src/support/../support/lyxtime.h:17,
from ../../../LyX-2.2-2.2.0dev/src/support/lyxtime.cpp:13:
/usr/include/c++/4.8/bits/boost_concept_check.h: In instantiation of ‘void __gnu_cxx::_RandomAccessIteratorConcept<_Tp>::__constraints() [with _Tp = QList<QVariant>::const_iterator]’:
/usr/include/c++/4.8/bits/boost_concept_check.h:59:39: required from ‘void __gnu_cxx::__function_requires() [with _Concept = __gnu_cxx::_RandomAccessIteratorConcept<QList<QVariant>::const_iterator>]’
/usr/include/c++/4.8/bits/stl_iterator_base_funcs.h:154:7: required from ‘void std::__advance(_RandomAccessIterator&, _Distance, std::random_access_iterator_tag) [with _RandomAccessIterator = QList<QVariant>::const_iterator; _Distance = int]’
/usr/include/c++/4.8/bits/stl_iterator_base_funcs.h:177:61: required from ‘void std::advance(_InputIterator&, _Distance) [with _InputIterator = QList<QVariant>::const_iterator; _Distance = int]’
/usr/include/qt5/QtCore/qmetatype.h:933:28: required from ‘static const void* QtMetaTypePrivate::QSequentialIterableImpl::atImpl(const void*, int) [with T = QList<QVariant>]’
/usr/include/qt5/QtCore/qmetatype.h:980:34: required from ‘QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl(const T*) [with T = QList<QVariant>]’
/usr/include/qt5/QtCore/qvariant.h:711:139: required from here
/usr/include/c++/4.8/bits/boost_concept_check.h:534:34: error: no match for ‘operator+’ (operand types are ‘std::iterator_traits<QList<QVariant>::const_iterator>::difference_type {aka int}’ and ‘QList<QVariant>::const_iterator’)
__i = __i + __n; __i = __n + __i; // require addition with difference type
^
/usr/include/c++/4.8/bits/boost_concept_check.h:534:34: note: candidates are:
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
from /usr/include/c++/4.8/bits/char_traits.h:39,
from /usr/include/c++/4.8/string:40,
from ../../../LyX-2.2-2.2.0dev/src/support/../support/lyxtime.h:17,
from ../../../LyX-2.2-2.2.0dev/src/support/lyxtime.cpp:13:
/usr/include/c++/4.8/bits/stl_iterator.h:902:5: note: template<class _Iterator, class _Container> __gnu_cxx::__normal_iterator<_Iterator, _Container> __gnu_cxx::operator+(typename __gnu_cxx::__normal_iterator<_Iterator, _Container>::difference_type, const __gnu_cxx::__normal_iterator<_Iterator, _Container>&)
operator+(typename __normal_iterator<_Iterator, _Container>::difference_type
^
/usr/include/c++/4.8/bits/stl_iterator.h:902:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/4.8/bits/concept_check.h:55:0,
from /usr/include/c++/4.8/bits/move.h:34,
from /usr/include/c++/4.8/bits/stl_pair.h:59,
from /usr/include/c++/4.8/bits/stl_algobase.h:64,
from /usr/include/c++/4.8/bits/char_traits.h:39,
from /usr/include/c++/4.8/string:40,
from ../../../LyX-2.2-2.2.0dev/src/support/../support/lyxtime.h:17,
from ../../../LyX-2.2-2.2.0dev/src/support/lyxtime.cpp:13:
/usr/include/c++/4.8/bits/boost_concept_check.h:534:34: note: ‘QList<QVariant>::const_iterator’ is not derived from ‘const __gnu_cxx::__normal_iterator<_Iterator, _Container>’
__i = __i + __n; __i = __n + __i; // require addition with difference type
^
In file included from /usr/include/qt5/QtCore/qdatetime.h:45:0,
from /usr/include/qt5/QtCore/QDateTime:1,
from ../../../LyX-2.2-2.2.0dev/src/support/lyxtime.cpp:20:
/usr/include/qt5/QtCore/qstring.h:1143:41: note: const QString operator+(const QString&, const QByteArray&)
inline QT_ASCII_CAST_WARN const QString operator+(const QString &s, const QByteArray &ba)
^
/usr/include/qt5/QtCore/qstring.h:1143:41: note: no known conversion for argument 2 from ‘QList<QVariant>::const_iterator’ to ‘const QByteArray&’
Kornel Benko
2014-10-20 09:40:05 UTC
Permalink
Post by Stephan Witt
Post by Stephan Witt
Post by Enrico Forestieri
Post by Stephan Witt
Ok, I couldn't test it on Linux with Qt 5.x. I think I know what to do here.
What's your software stack for Qt5.x on Linux?
Debian stable, if that's what you mean by software stack.
Ok, thank you.
What I mean is: I'm used to rpm based systems on Linux. I'm using RedHat or CentOS if possible.
I read that on CentOS 6.5 Qt5 is a problem. So I tried it with my Ubuntu Box and couldn't find
how to get a Qt5 developer system ready. I'm not familiar with dpkg and apt. So it needs time
to setup such a system - I thought it may save some time if I ask.
It doesn't work on my system - an Ubuntu 12.04 upgraded to 14.04 TLS.
There are compatibility problems with boost and Qt5 I cannot solve.
I think (LyX with) Qt5 on Linux is not ready for production
 at least on Ubuntu 14.04 TLS.
I have here the same, without problems.
Post by Stephan Witt
$ uname -a
Linux ubuntu 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:30:01 UTC 2014 i686 i686 i686 GNU/Linux
$ cat /etc/debian_version
jessie/sid
Same.
Post by Stephan Witt
$ cd $HOME/lyx-build
$ sudo apt-get install libqt5x11extras5-dev
# This installs many Qt5 developer packages too...
$ PATH=/usr/lib/i386-linux-gnu/qt5/bin:$PATH sh ../LyX-2.2-2.2.0dev/configure --enable-qt5
$ PATH=/usr/lib/i386-linux-gnu/qt5/bin:$PATH make
...
I am using cmake.
# cd /usr/BUILD/BuildLyxGitQt5
# cmake /usr/src/lyx/lyx-git -DCMAKE_INSTALL_PREFIX=/usr/local/lyx2.2 -DCMAKE_VERBOSE_MAKEFILE=ON -DLYX_DEBUG=ON -DLYX_RELEASE=OFF -DLYX_CPACK=ON -DLYX_PROGRAM_SUFFIX=ON -DLYX_LOCALVERSIONING=ON -DCPACK_BINARY_RPM:BOOL=OFF -DCPACK_BINARY_DEB:BOOL=ON -DCPACK_BINARY_NSIS:BOOL=OFF -DCPACK_BINARY_STGZ:BOOL=OFF -DCPACK_BINARY_TGZ:BOOL=OFF -DCPACK_BINARY_TBZ2:BOOL=OFF -DCPACK_BINARY_TZ:BOOL=OFF -DCPACK_SOURCE_TBZ2:BOOL=OFF -DCPACK_SOURCE_TGZ:BOOL=ON -DCPACK_SOURCE_TZ:BOOL=OFF -DCPACK_SOURCE_ZIP:BOOL=OFF -DLYX_EXTERNAL_BOOST=OFF -DLYX_HUNSPELL=ON -DLYX_ENCHANT=ON -DLYX_NLS=ON -DLYX_ENABLE_CXX11=ON -DLYX_USE_QXMPP=ON -DLYX_ENABLE_URLTESTS=ON -DLYX_USE_QT=QT5

(Important part is '-DLYX_USE_QT=QT5' and maybe '-DLYX_EXTERNAL_BOOST=OFF')
Post by Stephan Witt
CXX docstring.o
In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0,
from /usr/include/qt5/QtCore/qfiledevice.h:45,
from /usr/include/qt5/QtCore/qfile.h:45,
from /usr/include/qt5/QtCore/QFile:1,
/usr/include/qt5/QtCore/qglobal.h:1008:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC or -fPIE."
# error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
^
make[5]: *** [docstring.o] Fehler 1
No error here. (Normally using 'make -j8 package' but then the make output is not sequential)
# make package
...
[ 26%] Building CXX object src/support/CMakeFiles/support.dir/docstring.cpp.o
cd /usr/BUILD/BuildLyxGitQt5/src/support && /usr/bin/c++ -DBOOST_SIGNALS_NO_DEPRECATION_WARNING=1 -DLYX_CALLSTACK_PRINTING -DQT_CORE_LIB -Wall -Wunused-parameter --std=gnu++11 -fno-strict-aliasing -Wall -Wunused-parameter --std=gnu++11 -fno-strict-aliasing -O0 -g3 -D_DEBUG -fPIC -I/usr/BUILD/BuildLyxGitQt5 -I/usr/src/lyx/lyx-git/src -I/usr/include/enchant -I/usr/src/lyx/lyx-git/boost -I/usr/src/lyx/lyx-git/src/support -I/usr/BUILD/BuildLyxGitQt5/src/support -I/usr/src/lyx/lyx-git/src/support/mythes -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -DBOOST_USER_CONFIG="<config.h>" -o CMakeFiles/support.dir/docstring.cpp.o -c /usr/src/lyx/lyx-git/src/support/docstring.cpp
Post by Stephan Witt
$ rm -rf *
$ CPPFLAGS=-fPIC PATH=/usr/lib/i386-linux-gnu/qt5/bin:$PATH sh ../LyX-2.2-2.2.0dev/configure --enable-qt5
$ PATH=/usr/lib/i386-linux-gnu/qt5/bin:$PATH make
...
CXX lyxtime.o
In file included from /usr/include/c++/4.8/bits/concept_check.h:55:0,
from /usr/include/c++/4.8/bits/move.h:34,
from /usr/include/c++/4.8/bits/stl_pair.h:59,
from /usr/include/c++/4.8/bits/stl_algobase.h:64,
from /usr/include/c++/4.8/bits/char_traits.h:39,
from /usr/include/c++/4.8/string:40,
from ../../../LyX-2.2-2.2.0dev/src/support/../support/lyxtime.h:17,
/usr/include/c++/4.8/bits/boost_concept_check.h:59:39: required from ‘void __gnu_cxx::__function_requires() [with _Concept = __gnu_cxx::_RandomAccessIteratorConcept<QList<QVariant>::const_iterator>]’
/usr/include/c++/4.8/bits/stl_iterator_base_funcs.h:154:7: required from ‘void std::__advance(_RandomAccessIterator&, _Distance, std::random_access_iterator_tag) [with _RandomAccessIterator = QList<QVariant>::const_iterator; _Distance = int]’
/usr/include/c++/4.8/bits/stl_iterator_base_funcs.h:177:61: required from ‘void std::advance(_InputIterator&, _Distance) [with _InputIterator = QList<QVariant>::const_iterator; _Distance = int]’
/usr/include/qt5/QtCore/qmetatype.h:933:28: required from ‘static const void* QtMetaTypePrivate::QSequentialIterableImpl::atImpl(const void*, int) [with T = QList<QVariant>]’
/usr/include/qt5/QtCore/qmetatype.h:980:34: required from ‘QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl(const T*) [with T = QList<QVariant>]’
/usr/include/qt5/QtCore/qvariant.h:711:139: required from here
/usr/include/c++/4.8/bits/boost_concept_check.h:534:34: error: no match for ‘operator+’ (operand types are ‘std::iterator_traits<QList<QVariant>::const_iterator>::difference_type {aka int}’ and ‘QList<QVariant>::const_iterator’)
__i = __i + __n; __i = __n + __i; // require addition with difference type
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
from /usr/include/c++/4.8/bits/char_traits.h:39,
from /usr/include/c++/4.8/string:40,
from ../../../LyX-2.2-2.2.0dev/src/support/../support/lyxtime.h:17,
/usr/include/c++/4.8/bits/stl_iterator.h:902:5: note: template<class _Iterator, class _Container> __gnu_cxx::__normal_iterator<_Iterator, _Container> __gnu_cxx::operator+(typename __gnu_cxx::__normal_iterator<_Iterator, _Container>::difference_type, const __gnu_cxx::__normal_iterator<_Iterator, _Container>&)
operator+(typename __normal_iterator<_Iterator, _Container>::difference_type
^
In file included from /usr/include/c++/4.8/bits/concept_check.h:55:0,
from /usr/include/c++/4.8/bits/move.h:34,
from /usr/include/c++/4.8/bits/stl_pair.h:59,
from /usr/include/c++/4.8/bits/stl_algobase.h:64,
from /usr/include/c++/4.8/bits/char_traits.h:39,
from /usr/include/c++/4.8/string:40,
from ../../../LyX-2.2-2.2.0dev/src/support/../support/lyxtime.h:17,
/usr/include/c++/4.8/bits/boost_concept_check.h:534:34: note: ‘QList<QVariant>::const_iterator’ is not derived from ‘const __gnu_cxx::__normal_iterator<_Iterator, _Container>’
__i = __i + __n; __i = __n + __i; // require addition with difference type
^

This may vanish using lyx's supplied boost sources.
Post by Stephan Witt
In file included from /usr/include/qt5/QtCore/qdatetime.h:45:0,
from /usr/include/qt5/QtCore/QDateTime:1,
/usr/include/qt5/QtCore/qstring.h:1143:41: note: const QString operator+(const QString&, const QByteArray&)
inline QT_ASCII_CAST_WARN const QString operator+(const QString &s, const QByteArray &ba)
^
/usr/include/qt5/QtCore/qstring.h:1143:41: note: no known conversion for argument 2 from ‘QList<QVariant>::const_iterator’ to ‘const QByteArray&’
I had no visible problems to compile lyxtime.cpp

Kornel
Enrico Forestieri
2014-10-20 11:22:37 UTC
Permalink
Post by Stephan Witt
Post by Stephan Witt
Post by Enrico Forestieri
Post by Stephan Witt
Ok, I couldn't test it on Linux with Qt 5.x. I think I know what to do here.
What's your software stack for Qt5.x on Linux?
Debian stable, if that's what you mean by software stack.
Ok, thank you.
What I mean is: I'm used to rpm based systems on Linux. I'm using RedHat or CentOS if possible.
I read that on CentOS 6.5 Qt5 is a problem. So I tried it with my Ubuntu Box and couldn't find
how to get a Qt5 developer system ready. I'm not familiar with dpkg and apt. So it needs time
to setup such a system - I thought it may save some time if I ask.
It doesn't work on my system - an Ubuntu 12.04 upgraded to 14.04 TLS.
There are compatibility problems with boost and Qt5 I cannot solve.
I think (LyX with) Qt5 on Linux is not ready for production? at least on Ubuntu 14.04 TLS.
$ uname -a
Linux ubuntu 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:30:01 UTC 2014 i686 i686 i686 GNU/Linux
$ cat /etc/debian_version
jessie/sid
$ cd $HOME/lyx-build
$ sudo apt-get install libqt5x11extras5-dev
# This installs many Qt5 developer packages too...
$ PATH=/usr/lib/i386-linux-gnu/qt5/bin:$PATH sh ../LyX-2.2-2.2.0dev/configure --enable-qt5
Please, try appending CPPFLAGS=-fPIC to the configure command, i.e., use
../LyX-2.2-2.2.0dev/configure --enable-qt5 CPPFLAGS=-fPIC
--
Enrico
Enrico Forestieri
2014-10-20 11:36:20 UTC
Permalink
Post by Enrico Forestieri
Post by Stephan Witt
$ cd $HOME/lyx-build
$ sudo apt-get install libqt5x11extras5-dev
# This installs many Qt5 developer packages too...
$ PATH=/usr/lib/i386-linux-gnu/qt5/bin:$PATH sh ../LyX-2.2-2.2.0dev/configure --enable-qt5
Please, try appending CPPFLAGS=-fPIC to the configure command, i.e., use
../LyX-2.2-2.2.0dev/configure --enable-qt5 CPPFLAGS=-fPIC
Hmm... I should have read further in your reply. Please, try
configuring using --disable-stdlib-debug --disable-concept-checks
--
Enrico
Stephan Witt
2014-10-20 12:15:39 UTC
Permalink
Post by Enrico Forestieri
Post by Enrico Forestieri
Post by Stephan Witt
$ cd $HOME/lyx-build
$ sudo apt-get install libqt5x11extras5-dev
# This installs many Qt5 developer packages too...
$ PATH=/usr/lib/i386-linux-gnu/qt5/bin:$PATH sh ../LyX-2.2-2.2.0dev/configure --enable-qt5
Please, try appending CPPFLAGS=-fPIC to the configure command, i.e., use
../LyX-2.2-2.2.0dev/configure --enable-qt5 CPPFLAGS=-fPIC
Hmm... I should have read further in your reply. Please, try
configuring using --disable-stdlib-debug --disable-concept-checks
The --disable-concept-checks does the trick. Does it work for you with concept-checks enabled?

Stephan
Enrico Forestieri
2014-10-20 15:19:03 UTC
Permalink
Post by Stephan Witt
Post by Enrico Forestieri
Post by Enrico Forestieri
Post by Stephan Witt
$ cd $HOME/lyx-build
$ sudo apt-get install libqt5x11extras5-dev
# This installs many Qt5 developer packages too...
$ PATH=/usr/lib/i386-linux-gnu/qt5/bin:$PATH sh ../LyX-2.2-2.2.0dev/configure --enable-qt5
Please, try appending CPPFLAGS=-fPIC to the configure command, i.e., use
../LyX-2.2-2.2.0dev/configure --enable-qt5 CPPFLAGS=-fPIC
Hmm... I should have read further in your reply. Please, try
configuring using --disable-stdlib-debug --disable-concept-checks
The --disable-concept-checks does the trick. Does it work for you with concept-checks enabled?
Actually, I always disable them because they give me griefs on Cygwin...
--
Enrico
Stephan Witt
2014-10-20 15:45:12 UTC
Permalink
Post by Stephan Witt
Post by Enrico Forestieri
Post by Enrico Forestieri
Post by Stephan Witt
$ cd $HOME/lyx-build
$ sudo apt-get install libqt5x11extras5-dev
# This installs many Qt5 developer packages too...
$ PATH=/usr/lib/i386-linux-gnu/qt5/bin:$PATH sh ../LyX-2.2-2.2.0dev/configure --enable-qt5
Please, try appending CPPFLAGS=-fPIC to the configure command, i.e., use
../LyX-2.2-2.2.0dev/configure --enable-qt5 CPPFLAGS=-fPIC
Hmm... I should have read further in your reply. Please, try
configuring using --disable-stdlib-debug --disable-concept-checks
The --disable-concept-checks does the trick. Does it work for you with concept-checks enabled?
Actually, I always disable them because they give me griefs on Cygwin…
You don't do it, ok. But if you do so on Linux, does it work for you?
I ask for it because a non-working default is not nice and should be changed.

Stephan
Jean-Marc Lasgouttes
2014-10-20 15:58:13 UTC
Permalink
Post by Stephan Witt
You don't do it, ok. But if you do so on Linux, does it work for you?
I ask for it because a non-working default is not nice and should be changed.
Is it only for Qt5? I have no problem with it with Qt4.

JMarc
Enrico Forestieri
2014-10-20 16:56:45 UTC
Permalink
Post by Jean-Marc Lasgouttes
Post by Stephan Witt
You don't do it, ok. But if you do so on Linux, does it work for you?
No, it fails in the same manner.
Post by Jean-Marc Lasgouttes
Is it only for Qt5? I have no problem with it with Qt4.
Yes, it seems to be a problem with Qt5 but not with Qt4.
--
Enrico
Loading...