import QT += winextras
-
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. -
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.@DragoonXVIII did you install winextras? Can you see its lib?
-
@DragoonXVIII did you install winextras? Can you see its lib?
@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. -
-
@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.@DragoonXVIII That is one of main magics on Windows. Restart the machine and things work.