diff --git a/src/printsupport/kernel/kernel.pri b/src/printsupport/kernel/kernel.pri index 22d12e4cc3..90eab4a634 100644 --- a/src/printsupport/kernel/kernel.pri +++ b/src/printsupport/kernel/kernel.pri @@ -30,7 +30,7 @@ win32 { $$PWD/qprintengine_win_p.h SOURCES += \ $$PWD/qprintengine_win.cpp - LIBS_PRIVATE += -lwinspool -lcomdlg32 -lgdi32 -luser32 + !winrt: LIBS_PRIVATE += -lwinspool -lcomdlg32 -lgdi32 -luser32 } unix:!darwin:qtConfig(cups) { diff --git a/src/src.pro b/src/src.pro index f19b0bd354..54f3b6e020 100644 --- a/src/src.pro +++ b/src/src.pro @@ -186,7 +186,7 @@ qtConfig(gui) { SUBDIRS += src_opengl src_plugins.depends += src_opengl } - !wince:!winrt { + !wince { SUBDIRS += src_printsupport src_plugins.depends += src_printsupport }