How to see MOC and UI generatd C++ code?
-
Hi! Now I am working on my first Qt project in Qt Creator. I use Qt Designer to make UI. Now I am a little bit confused about the way how MOC, Qt Designer and my C++ code are interacting with each other. So I want to see C++ code generated by UIC and MOC for better understandig, what really go on behinde the scene. So the question is how I can see these source files?
-
They are located in the build folder. for say mainwindow, there will be a ui_mainwindow.h
-
@Harb
Well I assumed it would be something secret hiding away in dark corner of the toolchain until someday
i stumbled upon the ui_* files.
Its a great way to learn how to hook things up from code.
And since its just normal c++ and objects, you can mix both UI files and
code setup.