Menu

#1 QOBJECT not found - qt3 vs qt4 in x64 machine

open
nobody
None
5
2012-12-10
2010-02-12
chema
No

I am writting you because I have spent a lot of time trying to compile a module, and I am stucked.

Technical details:
- Operating system: Ubuntu x64.
- IQR: 1.1.4 (I could not install 2.0 in this Ubuntu machine. Apparently some 'hard' problem with fonts)
- The error I got I think is related with libraries qt3 and qt4 (the module shows a pair of windows with the wheels and the chemo-senors):

Building CXX object qtBlimpDisplay/CMakeFiles/BlimpDisplay.dir/moc_ClsBlimpDisplay.cxx.o
cd Modules/RobotBaseComs/qtBlimpDisplay && /usr/bin/c++ -DQT_THREAD_SUPPORT -D_REENTRANT -DQT_NO_DEBUG -DIQRMODULE -DQT_THREAD_SUPPORT -D_REENTRANT -DQT_NO_DEBUG -I/usr/local/include/iqr -I/iqr_1.1.4/Modules/RobotBaseComs/../Common -I/iqr_1.1.4/Modules/RobotBaseComs/qtBlimpDisplay -I/iqr_1.1.4/Modules/RobotBaseComs/qtRadarDisplay -I/usr/share/qt3/include -I/usr/include/iqr -fPIC -o CMakeFiles/BlimpDisplay.dir/moc_ClsBlimpDisplay.cxx.o -c /iqr_1.1.4/Modules/RobotBaseComs/qtBlimpDisplay/moc_ClsBlimpDisplay.cxx
/iqr_1.1.4/Modules/RobotBaseComs/qtBlimpDisplay/moc_ClsBlimpDisplay.cxx:12:2: error: #error "The header file 'ClsBlimpDisplay.hpp' doesn't include <QObject>."

- Looking for information, apparently it is a conflict between qt3 and qt4. I have tried to compile it when having installed only qt3 (that must be the appropriate system), only qt4 and both at the same time. In every case using dev-tools. But i got the same <QObject> error. I also checked every time which was the moc->link and apparently that was correct in every case.

Any clue about that?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.