Author Topic: Problem with custom Qt4 makefiles with nighty build  (Read 5387 times)

Offline winz

  • Multiple posting newcomer
  • *
  • Posts: 14
Problem with custom Qt4 makefiles with nighty build
« on: August 29, 2007, 02:56:19 pm »
Hi,

Until now, I am using the old codeblocks 1.0rc2 mingw under win XP for a Qt4 project.
I am using my own makefile and everything works fine.
I configured : setting -> other -> build method = work with makfile
                      project -> properties, I sticked  "this is a custom makefile"
         
I just downloaded the nighty build (28/08/07 rev4413) and the problem is that I can't choose my "Build method" in "compiler and debugger settings -> other settings".
My "Build method" is "Invoke compiler directly" and I need "work with makfile" to use my own makefile

Contrary to version 1.0rc2, nighty build version is not provided with mingw, perhaps  my problem come from compiler configuration in nighty build?

What can I do ?

Thanks
« Last Edit: August 30, 2007, 11:26:23 am by winz »

Offline winz

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: Problem with custom Qt4 makefiles and nighty build
« Reply #1 on: August 30, 2007, 11:25:31 am »
I answer myself :
The Qt makefile uses differents labels than the cb makefile convention

I just edited project -> proerties -> project's build options -> "make" command for both debug and release
and I modified :

from:
clean project/target : $make -f $makefile clean$target
Dist-clean project/target : $make -f $makefile distclean$target

to:
clean project/target : $make -f $makefile $target-clean
Dist-clean project/target : $make -f $makefile $target-distclean

That's all!