User forums > Help
Can't compile qt4 projects when using custom makefiles
JHAx86:
I can't believe this thing exists :D
The mdi example compiles in release and debug with it. And for now my project (it uses mdi too so I started from the example) is growing. For some reason I didn't get with it googling, maybe because English is not my natural language. Very thanks you.
Anyway, stahta01. No, no all my paths were correctly configured. After fix it, I was able to compile in release mode. But now I'm using the plugin, and I recommend it to everybody.
Good bye.
pacorrop:
One point:
When mingw32-make says "no rule defined for cleanRelease and cleanDebug" you have to go to project's build options, and in the last tab "make commands" be sure to change this in all targets (i.e., Debug/Release):
Clean project/target: $make -f $makefile clean$target
Dist-clean project/target: $make -f $makefile distclean$target
for this:
Clean project/target: $make -f $makefile $target-clean
Dist-clean project/target: $make -f $makefile $target-distclean
So, you'll be able to compile from inside C::B (if this was your only problem :P)
JHAx86:
Be changing the default:
Clean project/target: $make -f $makefile clean$target
Dist-clean project/target: $make -f $makefile distclean$target
for what you say:
Clean project/target: $make -f $makefile $target-clean
Dist-clean project/target: $make -f $makefile $target-distclean
It solves the error "no rule defined for cleanRelease and cleanDebug". But there were others errors. So I continue using the Qtworkbench plugin, and all goes right for now. My project is growing.
Thanks.
Grand777:
--- Quote from: JHAx86 on October 18, 2008, 08:17:46 pm ---Be changing the default:
Clean project/target: $make -f $makefile clean$target
Dist-clean project/target: $make -f $makefile distclean$target
for what you say:
Clean project/target: $make -f $makefile $target-clean
Dist-clean project/target: $make -f $makefile $target-distclean
It solves the error "no rule defined for cleanRelease and cleanDebug". But there were others errors. So I continue using the Qtworkbench plugin, and all goes right for now. My project is growing.
Thanks.
--- End quote ---
so you're project is growing can you post other topics please.,.,i will active to it if you post another topic in this discussion.,,.
_________________
Ceiling Fan
JHAx86:
--- Quote from: Grand777 on April 22, 2009, 09:08:34 am ---so you're project is growing can you post other topics please.,.,i will active to it if you post another topic in this discussion.,,.
--- End quote ---
do you have problems with qt? pacorrop post will be the solution for most cases. If that doesn't work then try the Qtworkbench plugin, it worked for me. If you don't want the plugin then remember that you need a qmake generated makefile, and if you fail compiling from CB then compile from command line. I can't explain why this specific project i'm working on does not compile in CB without use the plugin. Simpler projects have no problems anymore.
Navigation
[0] Message Index
[*] Previous page
Go to full version