From 0747b8851050d952dd1e9e2fa0a13ba4d49a2b19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=AE=E7=94=9F=E8=8B=A5=E6=A2=A6?= <1070753498@qq.com> Date: Thu, 6 Jun 2024 13:17:48 +0800 Subject: [PATCH] 6 --- examples/examples.pro | 4 ++++ src/mpv/mpv.pri | 2 +- src/src.pro | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/examples/examples.pro b/examples/examples.pro index 86aa66b..09dc8a9 100644 --- a/examples/examples.pro +++ b/examples/examples.pro @@ -16,3 +16,7 @@ macx { SUBDIRS += mpvplayer } } + +unix:!macx{ + SUBDIRS += mpvplayer +} diff --git a/src/mpv/mpv.pri b/src/mpv/mpv.pri index 3d44e76..2c12526 100644 --- a/src/mpv/mpv.pri +++ b/src/mpv/mpv.pri @@ -1,5 +1,5 @@ QT_CONFIG -= no-pkg-config -CONFIG += link_pkgconfig debug +# CONFIG += link_pkgconfig debug #PKGCONFIG += mpv win32 { diff --git a/src/src.pro b/src/src.pro index ee60186..3836ead 100644 --- a/src/src.pro +++ b/src/src.pro @@ -18,3 +18,7 @@ macx { SUBDIRS += mpv } } + +unix:!macx{ + SUBDIRS += mpv +}