User forums > Using Code::Blocks

Problem compiling QT project in CodeBlocks QT 4.4 and CB 8.02

<< < (2/2)

rben13:
I can run the program from the command line or by double-click, so my build is working, if you don't count the lack of debug. Guess I'll have to compile that part myself.

I appreciate the help. Will post solution to getting it to run if I find one.

Thanks,
  Ray

darcwader:

--- Quote --- Guess I'll have to compile that part myself.
--- End quote ---

i am able to build the debug version aswell, make sure u have compiled qt in debug mode. best way is to goto qt install directory, lib/ see if u have libraries with "d" suffix. ex: libqtmaind.a . if its not there u will need to compile those.


--- Quote ---Now I just have to figure out how to make it actually run the program.
--- End quote ---

make sure the project exe or o/p filename at project options > build targets > release ... output filename  is same as the one generated by qmake. it will launch it. :)

rben13:
I've discovered that most of my problems seemed to stem from not running qmake each time I was rebuilding my program. I eventually figured out how to make sure that happened, and now things compile and link just fine.

Navigation

[0] Message Index

[*] Previous page

Go to full version