[Development] dev branch compile fails module-qtdatavis3d
thiago.macieira at intel.com
Fri Jul 1 21:45:07 CEST 2016
On sexta-feira, 1 de julho de 2016 21:36:21 PDT Martin Koller wrote:
> On Friday 01 July 2016 08:39:07 Thiago Macieira wrote:
> > On sexta-feira, 1 de julho de 2016 13:26:17 PDT Martin Koller wrote:
> > > g++ -Wl,--gc-sections
> > > -Wl,-rpath,/home/PACKAGES/qt/qt-repo/qt5/qtbase/lib -o
> > > /home/PACKAGES/qt/qt-repo/qt5/qtbase/bin/qml .obj/main.o .obj/qrc_qml.o
> > > .obj/moc_conf.o -L/home/PACKAGES/qt/qt-repo/qt5/qtbase/lib
> > > -lQt5QmlWinCC_OA -lQt5NetworkWinCC_OA -lQt5WidgetsWinCC_OA
> > > -lQt5GuiWinCC_OA
> > > -lQt5CoreWinCC_OA -lGL -lpthread
> > >
> > > /home/PACKAGES/qt/qt-repo/qt5/qtbase/lib/libQt5GuiWinCC_OA.so: undefined
> > > reference to `qt_version_tag'
> > This error indicates your Qt headers do not match the QtCore library.
> > Did you by any chance also build with a namespace?
> yes, this is what I said in my first mail.
"qt_version_tag" is the name of the tag for unnamespaced Qt. If you do
readelf -s libQt5CoreWinCC_OA.so.5
You'll probably see "qt_version_tag_X" where X is your namespace, some with
extra suffixes for previous Qt versions and one with @@. Can you confirm that?
Can you check if the build of this application had QT_NAMESPACE defined? Please
paste the command-line that was used to compile main.cpp.
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development