Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

undefined reference to QBasicAtomicInt

$
0
0
I can compile my Qt project in Terminal bash but I’m having problems compiling with Qt Creator. here are some issue I’ve encounter: make: Entering directory `/home/esn/SQSP/qespta’ g++ -Wl,-rpath,/comp/qtb/lib -o qespta main.o MainWindow.o MessageWindow.o QespTest.o qextserialport.o qextserialenumerator.o qextserialport_unix.o qextserialenumerator_linux.o moc_MainWindow.o moc_MessageWindow.o moc_QespTest.o -L/comp/qtb/lib -lQtGui -L/comp/qtb/lib -L/usr/X11R6/lib -lQtCore -lpthread MainWindow.o: In function `QString::~QString()’: /comp/qtb/include/QtCore/qstring.h:880: undefined reference to `QBasicAtomicInt::deref()’ MessageWindow.o: In function `QByteArray::~QByteArray()’: /comp/qtb/include/QtCore/qbytearray.h:401: undefined reference to `QBasicAtomicInt::deref()’ MessageWindow.o: In function `QString::QString(QString const&)’: /comp/qtb/include/QtCore/qstring.h:726: undefined reference to `QBasicAtomicInt::ref()’ MessageWindow.o: In function `QString::QString()’: /comp/qtb/include/QtCore/qstring.h:879: undefined reference to `QBasicAtomicInt::ref()’ qextserialport.o: In function `QByteArray::QByteArray()’: /comp/qtb/include/QtCore/qbytearray.h:400: undefined reference to `QBasicAtomicInt::ref()’ qextserialenumerator_linux.o: In function `QList<QString>::QList()’: /comp/qtb/include/QtCore/qlist.h:121: undefined reference to `QBasicAtomicInt::ref()’ qextserialenumerator_linux.o: In function `QList<QString>::~QList()’: /comp/qtb/include/QtCore/qlist.h:731: undefined reference to `QBasicAtomicInt::deref()’ qextserialenumerator_linux.o: In function `QList<QString>::QList(QList<QString> const&)’: /comp/qtb/include/QtCore/qlist.h:122: undefined reference to `QBasicAtomicInt::ref()’ qextserialenumerator_linux.o: In function `QList<QextPortInfo>::QList()’: /comp/qtb/include/QtCore/qlist.h:121: undefined reference to `QBasicAtomicInt::ref()’ qextserialenumerator_linux.o: In function `QList<QextPortInfo>::~QList()’: /comp/qtb/include/QtCore/qlist.h:731: undefined reference to `QBasicAtomicInt::deref()’ qextserialenumerator_linux.o: In function `QList<QString>::operator=(QList<QString> const&)’: /comp/qtb/include/QtCore/qlist.h:441: undefined reference to `QBasicAtomicInt::ref()’ /comp/qtb/include/QtCore/qlist.h:442: undefined reference to `QBasicAtomicInt::deref()’ qextserialenumerator_linux.o: In function `QList<QString>::detach_helper_grow(int, int)’: /comp/qtb/include/QtCore/qlist.h:699: undefined reference to `QBasicAtomicInt::deref()’ qextserialenumerator_linux.o: In function `QList<QextPortInfo>::detach_helper_grow(int, int)’: /comp/qtb/include/QtCore/qlist.h:699: undefined reference to `QBasicAtomicInt::deref()’ qextserialenumerator_linux.o: In function `QList<QString>::detach_helper(int)’: /comp/qtb/include/QtCore/qlist.h:718: undefined reference to `QBasicAtomicInt::deref()’ collect2: error: ld returned 1 exit status make: Leaving directory `/home/esn/SQSP/qespta’ make: *** [qespta] Error 1 11:08:17: The process “/usr/bin/make” exited with code 2. Error while building/deploying project qespta (target: Qt 4.8.4 Comp(qts)2) When executing step ‘Make’ Please help me to solve this problem. thanks

Viewing all articles
Browse latest Browse all 18427

Trending Articles