How can i see the generated code for QtCreator ?
-
-
Hi, you can always open the generated files (ui_xxx.h, moc_xxx.h, xxx.moc, qrc_xxx.cpp, ...) with QtCreator just as you open normal c/c++ source files.
These files generated by qt tools uic, moc and rcc.
-
[quote author="1+1=2" date="1373699929"]Hi, you can always open the generated files (ui_xxx.h, moc_xxx.h, xxx.moc, qrc_xxx.cpp, ...) with QtCreator just as you open normal c/c++ source files.
These files generated by qt tools uic, moc and rcc.[/quote]
Thanks but how can i see them through QtCreator itself ?
I cant find those files in the project files hierarchy ! -
No you can't because they are generated in the shadow build folder.
You can simply open an explorer in that folder and drag the files over QtCreator's window to open them
-
The shadow build directory is simply a folder used to store the generated and compiled code so your project folder doesn't get polluted by them. Generally you can find them beside your project folder with a name like build-myproject-Qt_4_8_5
You can find the folder in the project tab