News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Special compile scripts (related to Qt)

Started by chameleon, February 24, 2010, 02:23:55 AM

Previous topic - Next topic

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:
Quotec:\qt\2010.02\qt\bin\uic.exe -o $file_dir/qt_temp/ui_$file_name.h $file
for file aaa.h:
Quotec:\qt\2010.02\qt\bin\moc.exe -o $file_dir/qt_temp/moc_$file_name.cpp $file

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

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]