PDA

View Full Version : QtQuick Controls Style module missing in Static Qt 5.10 msvc2017 build



Nizars
25th January 2018, 02:37
Hello!

I have finally been able to build a static Qt from source code but I now seem to have a problem finding a particular module. Adding “import QtQuick.Controls.Styles 1.4” results in an error complaining about the module not being installed. The same happens with another module that I also rely on “import QtQuick.Controls.Styles.Desktop 1.0”.

I am not sure about how to proceed since this is my first static build and all my google searches returned very vague results.


Updating post with some images:

Error message:
12747

Qt Static directory - qml > QtQuick > Controls:
12748

Qt Static directory - qml > QtQuick > Controls > Styles:
12749

Qt Static directory - qml > QtQuick > Controls > Styles > Flat:
12750

Build & Run > Kits:
12751

Build & Run > Qt Versions:
12752

Project file:
12753

Added after 5 minutes:

main.cpp:
12754

Nizars
26th January 2018, 13:40
Any help would be appreciated.