User forums > General (but related to Code::Blocks)
Special compile scripts (related to Qt)
(1/1)
chameleon:
In my project, I have files
aaa.h
aaa.ui
aaa.cpp
I want, before linker start, to run this command, only if files aaa.ui and aaa.h are changed:
for file aaa.ui:
--- Quote ---c:\qt\2010.02\qt\bin\uic.exe -o $file_dir/qt_temp/ui_$file_name.h $file
--- End quote ---
for file aaa.h:
--- Quote ---c:\qt\2010.02\qt\bin\moc.exe -o $file_dir/qt_temp/moc_$file_name.cpp $file
--- End quote ---
For both files, I want on right click popup menu -> build to run commands above.
But for aaa.ui there is no "build" at all in popup menu.
A hand of help please?
stahta01:
No idea; but look here it might help
http://wiki.codeblocks.org/index.php?title=Adding_support_for_non_C/C%2B%2B_files_to_the_build_system
Tim S.
Navigation
[0] Message Index
Go to full version