522c7ba1ac
For bundling Qt, we need two things: 1. We need to build a regular .jar file out of the Java files, so that they can be built into the app package. Dexing the classes first (i.e. compiling the JVM bytecode to Dalvik bytecode) is required for loading the .jar file at run-time, but cannot be used for building it into the app, so we need two different paths. 2. We need to specify which extra files have to be bundled for each module (this is primarily for plugins and imports). This is because there is no static dependency on these files, so it cannot be detected during deployment. Task-number: QTBUG-30751 Change-Id: I733603ee5d1c64bd7c5b9357eb5d993b9d0298f7 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
21 lines
407 B
Prolog
21 lines
407 B
Prolog
TARGET = QtSql
|
|
QT = core-private
|
|
|
|
DEFINES += QT_NO_USING_NAMESPACE
|
|
win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x62000000
|
|
|
|
MODULE_PLUGIN_TYPES = \
|
|
sqldrivers
|
|
|
|
QMAKE_DOCS = $$PWD/doc/qtsql.qdocconf
|
|
|
|
load(qt_module)
|
|
|
|
DEFINES += QT_NO_CAST_FROM_ASCII
|
|
PRECOMPILED_HEADER = ../corelib/global/qt_pch.h
|
|
SQL_P = sql
|
|
|
|
include(kernel/kernel.pri)
|
|
include(drivers/drivers.pri)
|
|
include(models/models.pri)
|