Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
ce54c03b
Commit
ce54c03b
authored
Nov 10, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: qt4: Reduce win32 binsize
Some config options do not apply to win32 builds (e.g. QT_NO_ICONV)
parent
04974d8f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
5 deletions
+21
-5
contrib/src/qt4/QtCore.pc.in
contrib/src/qt4/QtCore.pc.in
+1
-1
contrib/src/qt4/QtGui.pc.in
contrib/src/qt4/QtGui.pc.in
+1
-1
contrib/src/qt4/cross.patch
contrib/src/qt4/cross.patch
+19
-0
contrib/src/qt4/rules.mak
contrib/src/qt4/rules.mak
+0
-3
No files found.
contrib/src/qt4/QtCore.pc.in
View file @
ce54c03b
...
...
@@ -6,5 +6,5 @@ includedir=${prefix}/include/qt4/QtCore
Name: Qtcore
Description: Qtcore Library
Version: @@VERSION@@
Libs: -Wl,--subsystem,windows -mwindows -L${libdir} -lQtCore -l
qcncodecs -lqjpcodecs -lqkrcodecs -lqtwcodecs -l
rpcrt4 -loleaut32 -lole32 -luuid -lwinspool -lwinmm -lshell32 -lcomctl32 -ladvapi32 -lgdi32 -limm32 -lwsock32
Libs: -Wl,--subsystem,windows -mwindows -L${libdir} -lQtCore -lrpcrt4 -loleaut32 -lole32 -luuid -lwinspool -lwinmm -lshell32 -lcomctl32 -ladvapi32 -lgdi32 -limm32 -lwsock32
Cflags: -I${prefix}/include/qt4 -I${includedir} -DQT_NODLL
contrib/src/qt4/QtGui.pc.in
View file @
ce54c03b
...
...
@@ -6,5 +6,5 @@ includedir=${prefix}/include/qt4/QtGui
Name: Qtgui
Description: Qtgui Library
Version: @@VERSION@@
Libs: -Wl,--subsystem,windows -mwindows -L${libdir} -lqjpeg -lqtaccessiblewidgets -lQtGui -lQtCore -l
qcncodecs -lqjpcodecs -lqkrcodecs -lqtwcodecs -l
rpcrt4 -loleaut32 -lole32 -luuid -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lgdi32 -limm32 -lwsock32
Libs: -Wl,--subsystem,windows -mwindows -L${libdir} -lqjpeg -lqtaccessiblewidgets -lQtGui -lQtCore -lrpcrt4 -loleaut32 -lole32 -luuid -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lgdi32 -limm32 -lwsock32
Cflags: -I${prefix}/include/qt4 -I${includedir} -DQT_NODLL
contrib/src/qt4/cross.patch
View file @
ce54c03b
...
...
@@ -42,3 +42,22 @@
+QMAKE_STRIP = $(XSTRIP)
QMAKE_STRIPFLAGS_LIB += --strip-unneeded
load(qt_config)
--- qt-everywhere-opensource-src-4.7.4/configure.orig 2011-11-10 18:48:29.351058392 -0500
+++ qt-everywhere-opensource-src-4.7.4/configure 2011-11-10 18:50:40.971711056 -0500
@@ -7767,6 +7767,7 @@
fi
# X11/Unix/Mac only configs
+if [ "$XPLATFORM_MINGW" != "yes" ]; then
[ "$CFG_CUPS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_CUPS"
[ "$CFG_ICONV" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_ICONV"
[ "$CFG_GLIB" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_GLIB"
@@ -7807,6 +7808,8 @@
[ "$CFG_COREWLAN" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_COREWLAN"
[ "$CFG_ICD" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_ICD"
+fi
+
# sort QCONFIG_FLAGS for neatness if we can
[ '!' -z "$AWK" ] && QCONFIG_FLAGS=`echo $QCONFIG_FLAGS | $AWK '{ gsub(" ", "\n"); print }' | sort | uniq`
QCONFIG_FLAGS=`echo $QCONFIG_FLAGS`
contrib/src/qt4/rules.mak
View file @
ce54c03b
...
...
@@ -45,9 +45,6 @@ endif
# INSTALLING PLUGINS
install
-D
--
$<
/plugins/imageformats/libqjpeg.a
"
$(PREFIX)
/lib/libqjpeg.a"
install
-D
--
$<
/plugins/accessible/libqtaccessiblewidgets.a
"
$(PREFIX)
/lib/libqtaccessiblewidgets.a"
for
codec
in
cn jp kr tw
;
\
do
install
-D
--
$<
/plugins/codecs/libq
$
${codec}
codecs.a
"
$(PREFIX)
/lib/libq
$
${codec}
codecs.a"
;
\
done
# INSTALLING HEADERS
for
h
in
corelib gui xml network
;
\
do
find
.
-type
f
-name
'*.h'
-exec
install
-D
--
"{}"
"
$(PREFIX)
/include/qt4/src/
$
${h}
/{}"
\;
;
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment