libqatemcontrol
libqatemcontrol copied to clipboard
Add instructions on how to compile examples
I'm not familiar with the QT framework but would love to be able to compile the examples on OSX. Would it be possible to add some instructions on how to compile this? What sort of dependencies I need to install, etc. Thanks!
Procedure should be
qmake
make
Just as with the library.
make
throws several errors
no CommandLineParser in QT4
main.cpp:2:10: fatal error: 'QCommandLineParser' file not found
Fix: install QT5 instead of QT4
brew install qt5
Library header not found
qatemuploader.cpp:3:10: fatal error: 'qatemconnection.h' file not found
Make sure to qmake
& make
& make install
the library first!
Library not found
ld: library not found for -lqatemcontrol
Makefile
Fix
For the last two bugs I prepared this fix to the Makefile
because qmake
does some things wrong there: http://pastebin.com/09jq1nka
I only tested this for the qatemuploader example under osx 10.9 with xcode installed