How to use Qt Creator with Qt source
-
TL;DR: I would like to use Creator to browse and step through Qt itself. What are the steps to do so?
I've been using Qt for years and have in the past made small changes. I was able to simply open the top .pro file in Creator and build.
Now cloning the git repo and trying to open qt.pro in Creator fails.
It was suggested elsewhere that we should not try to open qt.pro, but rather only individual submodules, but this is also problematic.
Could someone comment on whether the following process should work?
- git clone <repo>
- git checkout 5.12 (for example)
- perl init-repository
- change to build dir and configure
- open qtbase.pro in Creator
- .. import the build? specify a new build directory?
One of the problems I run into is "...qtbase/configure.pri(224): Function 'prompt' is not implemented."
Apparently this is because of a license prompt. I tried to solve this by running configure with '-confirm-license' in the source directory, to no avail.
Any suggestions or pointers to resources would be much appreciated.
I can't believe it's this difficult to browse the Qt sources with Qt's own IDE.