[odb-users] odb-examples-2.4.0/qt/ compile problem
张颖
zhangying at zdmedtech.com
Tue Jun 7 23:07:02 EDT 2016
hi:
when I try to compile the example in odb-examples-2.4.0/qt/ (follow readme guide), this error report always exist. zypc at zypc-MS-7851:~/org-file-package/odb/odb-examples-2.4.0/qt$ g++ -fPIC -o driver driver.o employee-odb.o -lodb-qt -lodb-mysql -lodb -lQt5Core -lQt5Widgets -lQtGui
driver.o:(.qtversion[qt_version_tag]+0x0):对‘qt_version_tag’未定义的引用
collect2: error: ld returned 1 exit status
my build environment:Ubuntu 14.04 libodb-2.4.0 libodb-mysql-2.4.0 libodb-qt-2.4.0 Qt 5.6.0 zypc at zypc-MS-7851:~/catkin_ws$ qmake -v
QMake version 3.0
Using Qt version 5.6.0 in /opt/Qt5.6.0/5.6/gcc_64/libdoes libodb-qt-2.4.0 support Qt5.6.0?
does it matter to macro QT_NO_VERSION_TAGGING?
waiting for your reply, thankyou very much!
More information about the odb-users
mailing list