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
f4880f03
Commit
f4880f03
authored
Nov 09, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4: build/install rcc/moc/uic for both native and cross builds
parent
7a6e884f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
contrib/src/qt4/rules.mak
contrib/src/qt4/rules.mak
+14
-0
No files found.
contrib/src/qt4/rules.mak
View file @
f4880f03
...
...
@@ -31,6 +31,15 @@ XTOOLS := XCC="$(CC)" XCXX="$(CXX)" XSTRIP="$(STRIP)" XAR="$(AR)"
cd
$<
&&
$(XTOOLS)
./configure
-xplatform
win32-g++
-static
-release
-fast
-no-exceptions
-no-stl
-no-sql-sqlite
-no-qt3support
-no-gif
-no-libmng
-qt-libjpeg
-no-libtiff
-no-qdbus
-no-openssl
-no-webkit
-sse
-no-script
-no-multimedia
-no-phonon
-opensource
-no-scripttools
-no-opengl
-no-script
-no-scripttools
-no-declarative
-no-declarative-debug
-opensource
-no-s60
-host-little-endian
-confirm-license
cd
$<
&&
$(MAKE)
$(XTOOLS)
sub-src
cd
$<
/src/plugins/imageformats/jpeg
&&
$(MAKE)
$(XTOOLS)
# FIXME
# BUILDING QT BUILD TOOLS
ifdef
HAVE_CROSS_COMPILE
cd
$<
/src/tools
;
$(MAKE)
clean
;
\
for
i
in
bootstrap uic rcc moc
;
\
do
(
cd
$$
i
;
../../../bin/qmake
)
;
\
done
;
\
../../../bin/qmake
;
\
$(MAKE)
$(XTOOLS)
endif
# INSTALLING LIBRARIES
for
lib
in
QtGui QtCore
;
\
do
install
-D
--
$<
/lib/lib
$
${lib}
.a
"
$(PREFIX)
/lib/lib
$
${lib}
.a"
;
\
...
...
@@ -51,4 +60,9 @@ XTOOLS := XCC="$(CC)" XCXX="$(CXX)" XSTRIP="$(STRIP)" XAR="$(AR)"
install
-d
"
$(PREFIX)
/lib/pkgconfig"
cat
$(SRC)
/qt4/QtCore.pc.in |
sed
-e
s/@@VERSION@@/
$(QT4_VERSION)
/ |
sed
-e
's|@@PREFIX@@|
$(PREFIX)
|'
>
"
$(PREFIX)
/lib/pkgconfig/QtCore.pc"
cat
$(SRC)
/qt4/QtGui.pc.in |
sed
-e
s/@@VERSION@@/
$(QT4_VERSION)
/ |
sed
-e
's|@@PREFIX@@|
$(PREFIX)
|'
>
"
$(PREFIX)
/lib/pkgconfig/QtGui.pc"
# INSTALLING QT BUILD TOOLS
install
-d
"
$(PREFIX)
/bin/"
for
i
in
rcc moc uic
;
\
do
cp
$<
/bin/
$$
i
*
"
$(PREFIX)
/bin"
;
\
done
touch
$@
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