Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
QtWorkbench plugin
yop:
--- Quote from: mmebane on July 21, 2006, 01:56:46 am ---EDIT2: Trying to rebuild results in "mingw32-make.exe: *** No rule to make target `cleansub-Debug'. Stop."
--- End quote ---
Each of the targets you create must be in a seperate directory having the same name as the target. Not my fault, blame qmake ;) If you want to generate a debug build use the QMake Project Options menu entry. Another funny thing is that the generated "targets" in the Makefile are named sub-<actual target name>. Again not my fault, blame qmake.
mmebane:
--- Quote from: iw2nhl on July 21, 2006, 04:41:54 pm ---No, it doesn't, you have to recompile Qt yourself in debug mode.
You should have a shortcut in "Start Menu" under Qt called "Qt 4.1.4 (Build Debug Libraries)".
My one contains this:
Starting dir: C:\Qt\4.1.4
Command: %COMSPEC% /k "C:\Qt\4.1.4\bin\qtvars.bat compile_debug"
I hope this helps... ;-)
--- End quote ---
Heh, I can't believe I missed that. Thanks!
--- Quote from: yop on July 22, 2006, 12:05:24 am ---
--- Quote from: mmebane on July 21, 2006, 01:56:46 am ---EDIT2: Trying to rebuild results in "mingw32-make.exe: *** No rule to make target `cleansub-Debug'. Stop."
--- End quote ---
Each of the targets you create must be in a seperate directory having the same name as the target. Not my fault, blame qmake ;) If you want to generate a debug build use the QMake Project Options menu entry. Another funny thing is that the generated "targets" in the Makefile are named sub-<actual target name>. Again not my fault, blame qmake.
--- End quote ---
I have Code::Blocks set to the standard "Debug" target. I am using the QtWorkbench -> QMake - Rebuild menu item, and Code::Blocks is giving me that message. Is something just screwed up with my system setup?
yop:
--- Quote from: mmebane on July 22, 2006, 11:14:22 pm ---I have Code::Blocks set to the standard "Debug" target. I am using the QtWorkbench -> QMake - Rebuild menu item, and Code::Blocks is giving me that message. Is something just screwed up with my system setup?
--- End quote ---
QMake as I use it creates a "top level" .pro file with subdir entries that match your targets. QMake generated Makefiles do not provide (AFAIK) a clean target for the subdir targets. Secondly go to the make options tab of you codeblocks project (nothing to do with QtWorkbench) and see the make options, you'll see that for cleaning a target it has the command "make clean<target>" (no space between clean and target) and that causes the error you see. My suggestion is to change this to "make clean" (will rebuild all targets for your project).
mmebane:
I had to enable the custom makefile first, but that worked. Thanks for putting up with me. :)
Daemon:
Nice idea, but where is attachment from head post? I found only sources at http://tiwag.cb.googlepages.com/home, but binary…
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version