Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 64bit on Windows missing qtquick, please help!
Forum Update on Monday, May 27th 2025

Qt 64bit on Windows missing qtquick, please help!

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 440 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.
  • M Offline
    M Offline
    Manfred
    wrote on last edited by Manfred
    #1

    Hi everybody!

    I have built Qt 5.5.1 from sources on windows 10 for 64bit, using the MinGW tool chain
    with the following command:
    configure -static -prefix %CD%\qtbase -commercial -nomake tests -nomake examples -opengl desktop
    Everything went fine though it seems that I'm missing something in the qtquick package.

    When I try to build a simple qtquick application using the 64 kit I get the following errors:
    plugin.cpp:-1: error: undefined reference to 'QQmlQtQuick2Module::defineModule()'
    plugin.cpp:-1: error: undefined reference to 'QQuickWindowModule::defineModule()'

    Here are the details in the Compile Output view:
    'C:/Qt/qt-everywhere-enterprise-src-5.5.1/qtbase/qml/QtQuick.2/libqtquick2plugin.a(plugin.o):plugin.cpp:(.text$_ZN14QtQuick2Plugin13registerTypesEPKc[_ZN14QtQuick2Plugin13registerTypesEPKc]+0x1): undefined reference to 'QQmlQtQuick2Module::defineModule()' C:/Qt/qt-everywhere-enterprise-src-5.5.1/qtbase/qml/QtQuick.2/libqtquick2plugin.a(plugin.o):plugin.cpp:(.text$_ZN14QtQuick2PluginD1Ev[_ZN14QtQuick2PluginD1Ev]+0x1e): undefined reference to QQmlQtQuick2Module::undefineModule()' ...

    Any ideas what went wrong here?
    Many thanks in advance
    regards
    Manfred

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Manfred
      wrote on last edited by
      #2

      Hi again,

      I found part of my problem:
      I had to link with the following two static libraries, here the line in my .pro:

      CONFIG(release, debug|release): LIBS += -L$$PWD/libs/ -lqtquick2plugin -lwindowplugin
      

      However now I get the runtime error:
      QQmlApplicationEngine failed to load component qrc:/main.qml:3 module "QtQuick.Controls" is not installed

      Any ideas?
      regards
      Manfred

      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