Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QtQuick.Controls 2.0 import issue

QtQuick.Controls 2.0 import issue

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 515 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tikani
    wrote on last edited by Tikani
    #1

    I have already asked this question here but I encountered the same issue at the second time.
    I am developing under Windows on Qt 5.7.0 with MSVC x64 compiler.
    In my project I want to use a Menu control to implement a context menu that opens by right mouse button click.
    I placed import QtQuick.Controls 2.0 to the header of a QML file.
    But here comes a magic -- QQmlApplicationEngine is able to resolve this import statement only in a DEBUG build.
    When I try to make a release build, it builds without errors and perfectly loads and displays QML files with import QtQuick.Controls 1.4 until the application execuiton flow reaches the import statement mentioned above. If application is launched from console then that will be shown in STDOUT: ?????? ?QtQuick.Controls? ?????? 2.0 ?? ??????????. It is very unintelligible message, I suspect these question marks appeared because of lack of debug symbols but I am not quite sure.

    I had the same issue when I used to build with MinGW toolchain.

    GitHub repository with the project

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved