Hi Michael,
just tested it on a current Debian stretch. It looks fine with the following 
Qt5/Qwt6 packages installed:

dpkg -l | grep 'libqt5\|libqwt' | grep ^ii
ii  libqt5concurrent5:amd64               5.7.1~20161021+dfsg-6             
amd64        Qt 5 concurrent module
ii  libqt5core5a:amd64                    5.7.1~20161021+dfsg-6             
amd64        Qt 5 core module
ii  libqt5dbus5:amd64                     5.7.1~20161021+dfsg-6             
amd64        Qt 5 D-Bus module
ii  libqt5designer5:amd64                 5.7.1~20161021-2                  
amd64        Qt 5 designer module
ii  libqt5gui5:amd64                      5.7.1~20161021+dfsg-6             
amd64        Qt 5 GUI module
ii  libqt5network5:amd64                  5.7.1~20161021+dfsg-6             
amd64        Qt 5 network module
ii  libqt5opengl5:amd64                   5.7.1~20161021+dfsg-6             
amd64        Qt 5 OpenGL module
ii  libqt5opengl5-dev:amd64               5.7.1~20161021+dfsg-6             
amd64        Qt 5 OpenGL library development files
ii  libqt5printsupport5:amd64             5.7.1~20161021+dfsg-6             
amd64        Qt 5 print support module
ii  libqt5qml5:amd64                      5.7.1~20161021-5                  
amd64        Qt 5 QML module
ii  libqt5quick5:amd64                    5.7.1~20161021-5                  
amd64        Qt 5 Quick library
ii  libqt5sql5:amd64                      5.7.1~20161021+dfsg-6             
amd64        Qt 5 SQL module
ii  libqt5sql5-sqlite:amd64               5.7.1~20161021+dfsg-6             
amd64        Qt 5 SQLite 3 database driver
ii  libqt5svg5:amd64                      5.7.1~20161021-2                  
amd64        Qt 5 SVG module
ii  libqt5test5:amd64                     5.7.1~20161021+dfsg-6             
amd64        Qt 5 test module
ii  libqt5webkit5:amd64                   5.7.1~20161021+dfsg-2             
amd64        Web content engine library for Qt
ii  libqt5widgets5:amd64                  5.7.1~20161021+dfsg-6             
amd64        Qt 5 widgets module
ii  libqt5xml5:amd64                      5.7.1~20161021+dfsg-6             
amd64        Qt 5 XML module
ii  libqwt-dev                            6.1.2-6                           
amd64        Qt widgets library for technical applications (development, qt4)
ii  libqwt-headers                        6.1.2-6                           
amd64        Qt widgets library for technical applications (header files)
ii  libqwt-qt5-6                          6.1.2-6                           
amd64        Qt widgets library for technical applications (runtime, qt5)
ii  libqwt-qt5-dev                        6.1.2-6                           
amd64        Qt widgets library for technical applications (development, qt5)
ii  libqwt6abi1                           6.1.2-6                           
amd64        Qt widgets library for technical applications (runtime, qt4)



And here is the relevant part during configure:

configure: Environment variable QTDIR not specified, searching for Qt:
checking for /usr/include//qt5/qglobal.h... no
checking for /usr/include/x86_64-linux-gnu/qt5/qglobal.h... no
checking for /usr/share/qt5/include/qglobal.h... no
checking for /usr/include//qt5/QtCore/qglobal.h... no
checking for /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h... yes
checking for /usr/include/x86_64-linux-gnu/qt5/qglobal.h... (cached) no
checking for /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h... (cached) 
yes
checking for /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/qprinter.h... 
yes
checking /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h usability... no
checking /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h presence... no
checking for /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h... no
configure: PIC option might be required for this GCC/Qt configuration:
checking whether compiler accepts PIC flag(s) -fPIC -DPIC... yes
configure: Searching for Qt4/5 subdirs:
checking for /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointF... yes
checking for /usr/include/x86_64-linux-gnu/qt5/QtGui/QPolygonF... yes
checking for /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h... yes
checking for /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/qprinter.h... 
(cached) yes
checking for main in -lQt5Core... yes
checking for main in -lQt5Gui... yes
checking for main in -lQt5Widgets... yes
checking for main in -lQt5PrintSupport... yes
checking for /usr/bin/moc... yes
checking for main in -lqwt-qt5... yes
checking qwt_global.h usability... yes
checking qwt_global.h presence... yes
checking for qwt_global.h... yes



After compilation ldd tells me:

ldd /usr/local/bin/odin | grep -i libq
        libqwt-qt5.so.6 => /usr/lib/libqwt-qt5.so.6 (0x00007f3cc7e93000)
        libQt5PrintSupport.so.5 => /usr/lib/x86_64-linux-
gnu/libQt5PrintSupport.so.5 (0x00007f3cc7e21000)
        libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 
(0x00007f3cc77be000)
        libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 
(0x00007f3cc7285000)
        libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 
(0x00007f3cc6da4000)
        libQt5Svg.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Svg.so.5 
(0x00007f3cc4045000)
        libQt5OpenGL.so.5 => /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so.5 
(0x00007f3cc3feb000)


Hope this helps, Thies




On Sunday, 11. December 2016 15:46:41 Michael Hanke wrote:
> Hi Thies,
> 
> I had a quick look at upgrading the package to 2.0.3. I am trying to
> build against Qt5 (all the bdeps seem to be there), but the AC setup
> does not acknowledge the presence of Qt5 in my test system.
> 
> Should this be working?
> 
> Thanks,
> 
> Michael

Reply via email to