Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ximi1970:Toolchains:Qt:MinGW:latest:win32
mingw32-libqt5-qtbase
0001-Add-support-for-cross-compiling-qmake.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Add-support-for-cross-compiling-qmake.patch of Package mingw32-libqt5-qtbase
From 760269e21091da26cb5b6c10cf1ad6a537cb7212 Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Wed, 24 Jul 2019 20:41:34 +0200 Subject: [PATCH] Add support for cross compiling qmake --- qmake/qmake-cross.pro | 35 +++++++++++++++++++++++++++++++++++ qtbase.pro | 2 +- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 qmake/qmake-cross.pro diff --git a/qmake/qmake-cross.pro b/qmake/qmake-cross.pro new file mode 100644 index 0000000000..33cb1c4100 --- /dev/null +++ b/qmake/qmake-cross.pro @@ -0,0 +1,41 @@ +# cross target qmake + +DEFINES += \ + QT_VERSION_STR=\"\\\"$$QT_VERSION\\\"\" \ + QT_VERSION_MAJOR=$$section(QT_VERSION,.,0,0) \ + QT_VERSION_MINOR=$$section(QT_VERSION,.,1,1) \ + QT_VERSION_PATCH=$$section(QT_VERSION,.,2,2) \ + +INCLUDEPATH += \ + ../src/corelib/global \ + ../include \ + ../include/QtCore \ + ../include/QtCore/$$QT_VERSION \ + ../include/QtCore/$$QT_VERSION/QtCore \ + $$OUT_PWD/../src/corelib/global + +CONFIG -= precompile_header + +VPATH += \ + generators/win32 \ + ../src/corelib/text \ + ../src/corelib/time + +# duplicated files results into broken multi threaded builds +SOURCES -= registry.cpp qsettings_win.cpp + +SOURCES += \ + qdebug.cpp \ + qringbuffer.cpp \ + qoperatingsystemversion.cpp \ + ../src/corelib/global/qrandom.cpp \ + ../src/corelib/text/qbytearraylist.cpp \ + ../src/corelib/global/qendian.cpp + +include(qmake.pro) +load(qt_app) +TARGET = qmake +DESTDIR=../bin +OBJECTS_DIR = .obj-cross +MOC_DIR = .moc-cross +RCC_DIR = .qrc-cross diff --git a/qtbase.pro b/qtbase.pro index c0ce0972ef..d88b43bf05 100644 --- a/qtbase.pro +++ b/qtbase.pro @@ -4,7 +4,7 @@ load(qt_parts) -SUBDIRS += qmake/qmake-aux.pro doc +SUBDIRS += qmake/qmake-aux.pro qmake/qmake-cross.pro doc cross_compile: CONFIG += nostrip -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor