diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-08-19 13:40:34 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-08-25 06:33:44 +0200 |
commit | fb9ec8ad44decba7b2878370f3711b61614f035a (patch) | |
tree | 6904b3936a8ee7c61a770ef92a4e033bb18b0fc3 /src/gui/gui.pro | |
parent | e24bbc4871e6a3711ffaa0e01397a40954465a3a (diff) |
Move QFileSystemModel into QtGui
This requires a QAbstractFileIconProvider in QtGui, as the standard
QFileIconProvider depends on QStyle, and cannot be moved out of
QtWidgets.
QAbstractFileIconProvider returns strings for file types, but returns
no icons yet. Support for a default icon set might be added in a
follow-up commit.
Change-Id: Ib9d095cd612fdcf04db62f2e40709fcffe3dc2b7
Fixes: QTBUG-66177
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/gui/gui.pro')
-rw-r--r-- | src/gui/gui.pro | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/gui.pro b/src/gui/gui.pro index 4e79e31e6e..13631aba67 100644 --- a/src/gui/gui.pro +++ b/src/gui/gui.pro @@ -51,7 +51,10 @@ QMAKE_LIBS += $$QMAKE_LIBS_GUI load(qt_module) load(cmake_functions) -win32: CMAKE_WINDOWS_BUILD = True +win32: { + CMAKE_WINDOWS_BUILD = True + QMAKE_USE_PRIVATE += shell32 +} qtConfig(egl) { CMAKE_EGL_LIBS = $$cmakeProcessLibs($$QMAKE_LIBS_EGL) |