User forums > Using Code::Blocks
[Please Help]cant build QT4 application after installation.
iw2nhl:
--- Quote from: MortenMacFly on January 09, 2007, 02:21:40 pm ---I wonder if the library "QtAssistantClient" exists at all?! The time RC2 came out there was no QT4 yet. And I believe these libs are now named something like "QtAssistantClient4" under Windows.
With regards, Morten.
--- End quote ---
I just checked in my Qt4 dir and Morten is right: all the Qt4 libs end with "4".
An advice: there is the Qt 4.2.2 version which fixed a lot of bugs. Consider using them!
flobadob:
Yep, the Qt4 version of that library is called -lQtAssistantClient4. I guess the code blocks people need to make separate Qt3 and Qt4 application templates but in the mean time - just edit your .cbp file to reflect the correct library.
tanamo:
I was able to compile the said program by editing the .cbp file, but im getting linking errors when i create a class with signals and slots, what is the solution for this? do i have to create my own .pro file then call qmake? or is it possible to incorporate the moc inside c::b? bec. in visual studio all i have to do is click the icon for creating MOC files, im using Qt 4.2.2,winxp and c::b rc2, i hope there's an easy solution for this, thanks everyone...
iw2nhl:
If the .PRO file created by C::B is correct (does C::B creates a .PRO file?), then you need only to run qmake once to let it create the right makefile for you. Then compile as usual.
Else create the .pro file yourself or use the auto-creation command:
qmake -project
Then continue as described above.
Have you tried the QtWorkbench plugin? (http://forums.codeblocks.org/index.php?topic=2253.0)
Navigation
[0] Message Index
[*] Previous page
Go to full version