access the source code of the .ui forms
hi , i am trying to make a simple interface using Qt designer i made a toolbar and i would like to see the source code of what i made , the only files that i can find are the mainwindow.ui , mainwindow.h , mainwindow.c and the main.c & either of them have the source code written on it , so where can i find it ??
Sorry for being stupid
Re: access the source code of the .ui forms
If you use Qt Creator without changing any settings, all the generated and compiled files will be in the build directory.
If you have something like widget.ui, the generated source code is most likely in ui_widget.h
Re: access the source code of the .ui forms
thanks for the answer but somehow i cant find it , i remeber when i first doscoverd Qt 1 month ago , i found a similar file using the Qt Creator search option , now .. i cant find it any where
any way thanks again tbscope :)
Re: access the source code of the .ui forms
When you create a project with Qt Creator, there will be 2 directories:
myproject
myproject-build-desktop
The first one only contains the written source code and data files.
The second one, the build dir, contains the executable, the generated libraries, the generated data, the makefile, the generated moc files, the generated source files, etc...
It is in this second dir that you'll find the source of your ui file.