[SLUG] Qt Compiling

From: Frank Roberts - SOTL (sotl155360@earthlink.net)
Date: Sat Jun 28 2003 - 19:52:42 EDT


Hi All

For those at the meeting today that were trying to help me figure out how to
compile example 2.1 from O'Riley's book Programming with Qt using Mandrake
9.1 on a A30P Thinkpad all you have to do to make the compiler work is change
the compliler statement

From:

c++ -I/usr/lib/qt3/include -L/usr/lib/qt3/lib -lqt -o helloworld helloworld.cp

To:

c++ -I/usr/lib/qt3/include -L/usr/lib/qt3/lib -lqt-mt -o helloworld
helloworld.cp

-mt implies multipable threads

And the program will compile correctly.

Thanks

Frank



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:46:33 EDT