Qt-interest Archive, March 2002
problems with qmake
Message 1 in thread
Hello,
These are the commands I'm using:
qmake -project -r -o make.pro
qmake -makefile make.pro -o makefile
I'm trying to compile a large software project using qmake in Linux. I'm
running into a number of problems. First of all, it's not configuring it to
compile as multithreaded, even though I compiled Qt as multithreaded. It's
weird. When I run qmake on my project, it compiles w/o threads. But when I
run qmake on one of the Qt examples with the same commands, it configures it
multithreaded.
There are other problems also. If I put the line "REQUIRES = opengl" in my
.pro file, it says "Some of the required modules (opengl) are not
installed." and it doesn't work. But this same line is in all of the opengl
Qt examples and they work fine.
So basically I cut and pasted out of one of the opengl example makefiles to
give it the same configuration. But this still does not work, because I'm
running into oodles and oodles of "multiply defines symbol" link errors that
have only to do with moc files. When I try to run qmake with the "-nomoc"
option, I get "unresolved external" errors instead.
Any ideas?
Thanks,
Craig