Important: Please read the Qt Code of Conduct -

How to load QML files in Qt Creator 4.2.0

  • I just installed the latest RC binaries and have also tried to build the latest available source code for qt creator. In both cases, when I open my project, the C++ subdirectories are loading but the rest of the project which is based on QML is not showing up in Qt Creator project view.

    Qt Creator 4.2.0
    Based on Qt 5.8.0 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)

    I am using the TEMPLATE = subdirs to organize my project. I can manually create subdirectories for all QML folders and put a seperate in each folder, but that will be very tedious since I have a lot of folders. In previous versions of Qt Creator, all my QML files were automatically loading in the project. I am not sure if this is a bug or feature.

    Is there some configuration in the file or some other way to load all QML files contained in my project folder in the IDE?

Log in to reply