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. import QT += winextras
Forum Updated to NodeBB v4.3 + New Features

import QT += winextras

Scheduled Pinned Locked Moved Solved QML and Qt Quick
4 Posts 2 Posters 1.1k 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.
  • D Offline
    D Offline
    DragoonXVIII
    wrote on last edited by
    #1

    My problem is simple, I have no idea how to include Qt Windows Extras using qmake properly. I'am using Qt 5.15 and I added to my .pro file:
    QT += winextras
    But it is not working because:
    :-1: error: Project ERROR: Unknown module(s) in QT: winextras
    I reinstalled Qt and right now installing again, but with everything checked in Qt Setup.
    Ofcourse trying this:
    #include <QtWinExtras>
    without working project file is not working.
    I had a similar problem trying to use QtQuick.Controls and I've never solved that.

    JoeCFDJ 1 Reply Last reply
    0
    • D DragoonXVIII

      My problem is simple, I have no idea how to include Qt Windows Extras using qmake properly. I'am using Qt 5.15 and I added to my .pro file:
      QT += winextras
      But it is not working because:
      :-1: error: Project ERROR: Unknown module(s) in QT: winextras
      I reinstalled Qt and right now installing again, but with everything checked in Qt Setup.
      Ofcourse trying this:
      #include <QtWinExtras>
      without working project file is not working.
      I had a similar problem trying to use QtQuick.Controls and I've never solved that.

      JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by
      #2

      @DragoonXVIII did you install winextras? Can you see its lib?

      D 1 Reply Last reply
      0
      • JoeCFDJ JoeCFD

        @DragoonXVIII did you install winextras? Can you see its lib?

        D Offline
        D Offline
        DragoonXVIII
        wrote on last edited by DragoonXVIII
        #3

        @JoeCFD Maybe it is a stupid question but shouldn't it be installed with Qt if I checked all components? If not, how should I install it?
        EDIT: Idk why but I restarted pc and it suddenly works, I only reopened it with a different tool kit, tried to rerun, and then went back to the previous one. Weird, sorry for the confusion.

        JoeCFDJ 1 Reply Last reply
        0
        • D DragoonXVIII has marked this topic as solved on
        • D DragoonXVIII

          @JoeCFD Maybe it is a stupid question but shouldn't it be installed with Qt if I checked all components? If not, how should I install it?
          EDIT: Idk why but I restarted pc and it suddenly works, I only reopened it with a different tool kit, tried to rerun, and then went back to the previous one. Weird, sorry for the confusion.

          JoeCFDJ Offline
          JoeCFDJ Offline
          JoeCFD
          wrote on last edited by JoeCFD
          #4

          @DragoonXVIII That is one of main magics on Windows. Restart the machine and things work.

          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