Allen Seelye wrote:
I really have two issues here but I think they both are symptoms of the same problem so I've stuck them both in the same message here.
I'm trying to compile the famous 'hello world' program. The first issue I'm running into is tellng qmake the location of qapplication.h or any include files at all. I have QTDIR set, as well as the appropriate entry in ld.so.conf but it still cannot find those files unless I include the complete path in the #include entry.
Then I run into the second issue. When compiling I get this error:
.../bin/ld: cannot find -lqt-mt collect2: ld returned 1 exit status make: *** [hello_world] Error 1
My googling has led me to believe that I need to install the qt-mt package (or something along those lines) but I have been unable to find any such package.
I'm using suse 9.0 and qt is installed from the suse 9.0 packages, NOT from sources.
Any hint is appreciated.
Is this one of the qt examples????? If so did you compile it in example dir???? What is in the *.pro file???? Had some trouble with qt-3.3.1-beta-mac..... It really didn't like being out the qt examples dir. Stefan.