Hello,
I uses Qt3.3.3 Qt designer in Linux.
I wrote code "#define NUM 10" in *.ui file.
I thought "where is it?" so I had found codes in folder ".moc , .ui " at ".cpp, .h" .
However I can't . Where can i see codes "#define"?
thanks.
Hello,
I uses Qt3.3.3 Qt designer in Linux.
I wrote code "#define NUM 10" in *.ui file.
I thought "where is it?" so I had found codes in folder ".moc , .ui " at ".cpp, .h" .
However I can't . Where can i see codes "#define"?
thanks.
You should not write code in a *.ui file because they are used by the Qt designer, write your code in a *.ccp or .h file
And don't write them in the ui_* files either, they will be regenerated by moc. And don't use defines like that, use const int NUM = 10;
Bookmarks