hi all,
i wonder when i make changes in the ui file, does the qtcreator create the corresponding code in the cpp file? because mine doesn't, and i dont see a point having a ui file then.
thanks all
mehmet
hi all,
i wonder when i make changes in the ui file, does the qtcreator create the corresponding code in the cpp file? because mine doesn't, and i dont see a point having a ui file then.
thanks all
mehmet
if you change an ui-files, uic-tool only generates new header files.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
what do you mean, mine doesnt even generate header files.
uic - only generates h-files for propper ui-file, it doesn't take care about cpp-file. you should modify them manually.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
ok thanks a lot, i didnt know that but, whats the point of creating buttons and editing slots and signals using the ui file then, if i'm gonna have to code it anyway? is it just for previews?
thanks in advance
no, it's not a preview -- all signals and slots will work in your app, because uic add QMetaObject::connectSlotsByName in generated ui-file. but you should be careful, you can add connection for some control by your self and that can cause then some lots will be called twice (it depens on how many connection do you have + 1 , because of this QMetaObject::connectSlotsByName calling).
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
qtcreator doesnt open my .pro file. i dont know why but it just doesnt.
Then you should kick his .....
anyways.. tell us how u open the file?
using open under the file menu of qtcreator
Bookmarks