Qt6D3D11 Plugin has directory slashes in the wrong direction for Windows PkgConfig file
I am compiling a static version of GStreamer on Windows 11 and when I build the Qt6D3D11 plugin, the pkgconfig file (gstqt6d3d11.pc) has include directories that look like the following: -IC:/Tools/Qt6.5.1/6.5.1/msvc2019_64/include\QtCore
. PkgConfig complains that this directory doesn't exist.
@seungha.yang, you may know how to fix this easily.
Expected Behavior
The directory slash in the pkgconfig files should be consistent (i.e. /
). When I manually made this change, everything worked as expected.
Setup
- Operating System: Windows 11
- MSVC 2022
- GStreamer Version: 1.24.0.1
Build steps (batch script):
@REM Update subprojects
meson subprojects update --reset
@REM Perform Setup/Configuration
meson setup --wipe --buildtype=release --prefix %INSTALL_DIR%^
-Dstrip=false^
--default-library=static^
-Dgst-full-target-type=static_library^
--wrap-mode=forcefallback^
-Dgst-full-libraries=*^
-Dauto_features=disabled^
-Dbase=enabled^
-Dgood=enabled^
-Dbad=enabled^
-Dtools=enabled^
-Dtests=disabled^
-Dlibnice=enabled^
-Dlibav=disabled^
-Drtsp_server=disabled^
-Dglib:tests=false^
-Dcustom_subprojects=json-glib^
-Djson-glib:default_library=static^
-Djson-glib:tests=false^
-Dpcre2:test=false^
-Dges=disabled^
-Ddevtools=disabled^
-Dpython=disabled^
-Dgstreamer:registry=false^
-Dgst-plugins-base:playback=enabled^
-Dgst-plugins-base:encoding=enabled^
-Dgst-plugins-base:subparse=enabled^
-Dgst-plugins-base:compositor=enabled^
-Dgst-plugins-base:videotestsrc=enabled^
-Dgst-plugins-base:videorate=enabled^
-Dgst-plugins-base:videoconvertscale=enabled^
-Dgst-plugins-base:app=enabled^
-Dgst-plugins-base:typefind=enabled^
-Dgst-plugins-base:examples=disabled^
-Dgst-plugins-base:tests=disabled^
-Dgst-plugins-good:qt6=enabled^
-Dgst-plugins-good:soup=enabled^
-Dgst-plugins-good:rtp=enabled^
-Dgst-plugins-good:isomp4=enabled^
-Dgst-plugins-good:examples=disabled^
-Dgst-plugins-good:tests=disabled^
-Dgst-plugins-bad:autoconvert=enabled^
-Dgst-plugins-bad:d3d11=enabled^
-Dgst-plugins-bad:qt6d3d11=enabled^
-Dgst-plugins-bad:d3dvideosink=disabled^
-Dgst-plugins-bad:nvcodec=disabled^
-Dgst-plugins-bad:webrtc=enabled^
-Dgst-plugins-bad:videoparsers=enabled^
-Dgst-plugins-bad:examples=disabled^
-Dgst-plugins-bad:tests=disabled^
--vsenv^
%BUILD_DIR%
@REM Perform compilation + installation
@REM Using the meson wrappers automatically configures Visual Studio
meson compile -C %BUILD_DIR%
meson install -C %BUILD_DIR%
Solutions you have tried
Manually replacing the \
slash. This worked.