[Qt] Differentiate between static and non-static builds of Qt
This commit is contained in:
parent
525588b159
commit
17cf763b3d
|
@ -72,6 +72,8 @@ project("xenia-app")
|
||||||
include = "QtVulkanSupport",
|
include = "QtVulkanSupport",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
defines({"QT_STATIC=1"})
|
||||||
|
|
||||||
configuration {"not Checked"}
|
configuration {"not Checked"}
|
||||||
links({
|
links({
|
||||||
"qtmain",
|
"qtmain",
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QtPlugin>
|
#include <QtPlugin>
|
||||||
|
|
||||||
#if XE_PLATFORM_WIN32
|
#if XE_PLATFORM_WIN32 && QT_STATIC
|
||||||
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin);
|
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue