File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ QT_CONFIG := -static -release -opensource -confirm-license -no-pkg-config \
41
41
cd $< && ./configure $(QT_PLATFORM ) $(QT_CONFIG ) -prefix $(PREFIX )
42
42
# Make && Install libraries
43
43
cd $< && $(MAKE )
44
- cd $< /src && $(MAKE ) sub-corelib-install_subtargets sub-gui-install_subtargets sub-widgets-install_subtargets
44
+ cd $< /src && $(MAKE ) sub-corelib-install_subtargets sub-gui-install_subtargets sub-widgets-install_subtargets sub-platformsupport-install_subtargets
45
45
# Install tools
46
46
cd $< /src && $(MAKE ) sub-moc-install_subtargets sub-rcc-install_subtargets sub-uic-install_subtargets
47
47
# Install plugins
@@ -52,8 +52,10 @@ QT_CONFIG := -static -release -opensource -confirm-license -no-pkg-config \
52
52
cp $(PREFIX ) /include/QtGui/$(QT_VERSION ) /QtGui/qpa/qplatformnativeinterface.h $(PREFIX ) /include/QtGui/qpa
53
53
# Clean Qt mess
54
54
rm -rf $(PREFIX ) /lib/libQt5Bootstrap* $(PREFIX ) /lib/* .prl $(PREFIX ) /mkspecs
55
- # Fix .pc files
55
+ # Fix .pc files to remove debug version (d)
56
56
cd $(PREFIX ) /lib/pkgconfig; for i in Qt5Core.pc Qt5Gui.pc Qt5Widgets.pc; do sed -i -e ' s/d\.a/.a/g' -e ' s/d $$/ /' $$ i; done
57
+ # Fix Qt5Gui.pc file to include qwindows (QWindowsIntegrationPlugin) and Qt5Platform Support
58
+ cd $(PREFIX ) /lib/pkgconfig; do sed -i -e ' s/ -lQt5Gui/ -lqwindows -lQt5PlatformSupport -lQt5Gui/g' Qt5Gui.pc; done
57
59
ifdef HAVE_CROSS_COMPILE
58
60
# Building Qt build tools for Xcompilation
59
61
cd $</include/QtCore; ln -sf $(QT_VERSION)/QtCore/private
You can’t perform that action at this time.
0 commit comments