Results 1 to 2 of 2

Thread: QtQuick Controls Style module missing in Static Qt 5.10 msvc2017 build

  1. #1
    Join Date
    Dec 2016
    Posts
    46
    Thanks
    20
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: QtQuick Controls Style module missing in Static Qt 5.10 msvc2017 build

    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:
    2018-01-25 03_12_51-main.qml @ Formula1GaugeOverlay - Qt Creator.png

    Qt Static directory - qml > QtQuick > Controls:
    2018-01-25 03_13_43-Controls.png

    Qt Static directory - qml > QtQuick > Controls > Styles:
    2018-01-25 03_13_56-Styles.jpg

    Qt Static directory - qml > QtQuick > Controls > Styles > Flat:
    2018-01-25 03_14_13-Flat.jpg

    Build & Run > Kits:
    2018-01-25 03_18_57-Options.jpg

    Build & Run > Qt Versions:
    2018-01-25 03_19_46-Options.jpg

    Project file:
    2018-01-25 03_20_33-Formula1GaugeOverlay.pro @ Formula1GaugeOverlay - Qt Creator.jpg


    Added after 5 minutes:


    main.cpp:
    2018-01-25 03_20_51-controls.jpg
    Last edited by Nizars; 25th January 2018 at 03:37.

  2. #2
    Join Date
    Dec 2016
    Posts
    46
    Thanks
    20
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: QtQuick Controls Style module missing in Static Qt 5.10 msvc2017 build

    Any help would be appreciated.

Similar Threads

  1. Printing from QtQuick.Controls
    By AlphaX2 in forum Qt Quick
    Replies: 3
    Last Post: 18th April 2016, 23:08
  2. Replies: 1
    Last Post: 27th February 2016, 04:34
  3. QtQuick.Controls not installed error under kde 4
    By nwtqtcntr in forum Qt Quick
    Replies: 3
    Last Post: 24th November 2015, 08:53
  4. QML: module "QtQuick.Controls" plugin "qtquickcontrolsplugin" not found on iOS
    By ChristianH in forum Installation and Deployment
    Replies: 0
    Last Post: 22nd August 2015, 18:53
  5. MenuBar QML QtQuick.Controls 1.0
    By TheIndependentAquarius in forum Qt Quick
    Replies: 2
    Last Post: 24th December 2013, 12:12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.