Quote:
Originally Posted by mf93
Hello I've recently began learning openGL graphical programming using SDL and I wanted to use these in conjunction with qt4. Usually when i create a C++ project i can just create a hello world and then include and link all the libraries I need. However when I try to open a qt4 project I can nowhere find in project options a place to link other libraries(with normal make its under project options->configure->linker extensions or something). Also it uses QMake as opposed to normal make. I've tried to include qt4 in a normal make program but I cannot find what I am supposed to link and the libraries are referenced so strangely(its a maze of subdirectories and oddly placed headers) I cannot figure out what or how I should include anything. So really I am asking how can I use QT4, SDL, and openGL all within the same project? any help would be greatly appreciated!
|
The easy and pragmatic answer is to avoid QT4. Over a period of years I wrote many programs using QT3, only to have Trolltech summarily end support for QT3 and require everyone to upgrade to QT4 with no rearward compatibility path or conversion method -- meaning everything had to be rewritten from scratch.
My point? Even if everything goes perfectly and you create a bunch of useful software, the source of the GUI library may screw you and you will have to start over. You only need to have this experience once to learn the lesson forever.