Hello.
I'm trying to get a clean build for the qOrbiter using qt creator.
I'm pretty sure I'm doing something silly, my C++ is not great.
I'm on 64 bit ubuntu 11.10. I've downloaded the latest source (following the wiki page), generated the device and set up QT Creator as in the wiki.
I've selected the 'for_desktop' config.
I've tried with QT (64 bit shipped with QT Creator) 4.7.4 and 4.8.0 with the same result.
On build/ Run, I then get a compile error in DataGrid.cpp.
../../DCE/DataGrid.cpp: In constructor ‘DCE::DataGridTable::DataGridTable()’:
../../DCE/DataGrid.cpp:336:26: error: cannot call constructor ‘DCE::Message::Message’ directly [-fpermissive]
../../DCE/DataGrid.cpp:336:26: error: for a function-style cast, remove the redundant ‘::Message’ [-fpermissive]
make: *** [DataGrid.o] Error 1
Commenting that line lets me proceed a little further, whereupon I get :-
/usr/bin/ld: qorbitermanager.o: undefined reference to symbol 'QAbstractSocket::isValid() const'
make: Leaving directory `/home/david/Development/Source/opensource/linuxmce1004/src/qOrbiter/build-output'
/usr/bin/ld: note: 'QAbstractSocket::isValid() const' is defined in DSO /home/david/Apps/QtSDK/Desktop/Qt/4.8.0/gcc/lib/libQtNetwork.so.4 so try adding it to the linker command line
/home/david/Apps/QtSDK/Desktop/Qt/4.8.0/gcc/lib/libQtNetwork.so.4: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [qOrbiter] Error 1
The process "/usr/bin/make" exited with code 2.
Error while building project qOrbiter_src (target: Desktop)
When executing build step 'Make'
Any ideas?
If its the 64bitness, I might have to investigate running 32bit versions of the qt libs.
Cheers,
David.