[Qt-interest] -prefix != --prefix

Josh jknox at irobot.com
Tue Dec 15 00:12:34 CET 2009


So, I build and package alot of stuff at my work. Lots of stuff (typically 
autoconf builds) takes a "--prefix=/install/dir" option to ./configure.

Qt OTOH has a "-prefix" option that does the same thing as autoconf's --prefix. 
I just spent several days trying to figure out why I couldn't build PyQt against 
my Qt package. Turns out I used --prefix when I built Qt. It never complained 
and built everything successfully.

Ugh. Three days lost to an errant "-".

At least I learned more than I ever wanted to know about Qt's build system! ;)

Pity the next poor SOB that makes this mistake. I'm sure I'm not the first.




More information about the Qt-interest-old mailing list