Commit 168b8a59 authored by Andrew Voznytsa's avatar Andrew Voznytsa

Force HAVE_QT_QPA_HEADER for qmlglsink/Windows build

parent f47271c8
......@@ -41,7 +41,7 @@ elseif(APPLE)
elseif(IOS)
target_compile_definitions(gst_plugins_good PUBLIC HAVE_QT_MAC)
elseif(WIN32)
target_compile_definitions(gst_plugins_good PUBLIC HAVE_QT_WIN32)
target_compile_definitions(gst_plugins_good PUBLIC HAVE_QT_WIN32 HAVE_QT_QPA_HEADER)
# TODO: use FindOpenGL?
target_link_libraries(gst_plugins_good PUBLIC opengl32.lib user32.lib)
......
......@@ -8,7 +8,7 @@ LinuxBuild {
} else:iOSBuild {
DEFINES += HAVE_QT_IOS
} else:WindowsBuild {
DEFINES += HAVE_QT_WIN32
DEFINES += HAVE_QT_WIN32 HAVE_QT_QPA_HEADER
LIBS += opengl32.lib user32.lib
} else:AndroidBuild {
DEFINES += HAVE_QT_ANDROID
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment