qt6-bb10/mkspecs/features
Miikka Heikkinen f166fcd3d0 Pro-file level support for importing plugins for static Qt builds
Platform plugin is needed always when gui is linked to an application.
This is tedious to do manually for static builds, so provide support
for generating a source file that imports static plugins for
application projects.

"CONFIG += import_plugins" statement in application .pro file will
generate required import statements for all plugins specified with
QTPLUGIN variable.

The plugin class names are found from plugin's module pri generated
automatically when plugin is built, as long as the plugin specifies
the PLUGIN_CLASS_NAME in the plugin .pro file before loading
qt_plugin.prf.

Task-number: QTBUG-28131
Change-Id: I19f8ea48a3c1e9b5c81f4399c4b5d439a6d4bea1
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2012-12-10 15:33:45 +01:00
..
data/cmake move cmake template files under features/data/ 2012-12-07 19:54:44 +01:00
mac configure: Remove the -dwarf2 argument for Mac OS X builds 2012-05-11 12:52:21 +02:00
qpa Install fonts when not using fontconfig 2012-03-16 21:30:59 +01:00
unix QNX: change suffix for separate debug files 2012-10-01 10:34:24 +02:00
win32 ANGLE: Fix debug-and-release builds 2012-12-01 08:30:38 +01:00
build_pass.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
c++11.prf configure: Auto-detect and enable C++11 support if available 2012-06-05 12:30:13 +02:00
configure.prf fix host vs. makefile directory separator mess 2012-07-28 00:09:45 +02:00
create_cmake.prf move cmake template files under features/data/ 2012-12-07 19:54:44 +01:00
ctest_testcase.prf Make CMake tests significant on Windows. 2012-09-27 15:46:18 +02:00
dbusadaptors.prf de-duplicate dbusadaptors.prf vs. dbusinterfaces.prf 2012-08-04 00:52:38 +02:00
dbuscommon.pri remove now unnecessary indirections 2012-09-19 19:54:44 +02:00
dbusinterfaces.prf de-duplicate dbusadaptors.prf vs. dbusinterfaces.prf 2012-08-04 00:52:38 +02:00
debug.prf configure: Remove the -dwarf2 argument for Mac OS X builds 2012-05-11 12:52:21 +02:00
debug_and_release.prf qmake: remove symbian support 2011-11-07 13:26:41 +01:00
declarative_debug.prf Rename quick1_debug back to declarative_debug 2012-10-04 03:03:00 +02:00
default_post.prf factor out testcase_targets.prf 2012-12-03 15:56:28 +01:00
default_pre.prf centralize doc target related code 2012-12-02 02:16:08 +01:00
designer_defines.prf dispose of library-bound feature files 2012-06-19 16:39:52 +02:00
device_config.prf mkspecs: Use the right variable name to find the qdevice.pri 2012-06-26 20:02:55 +02:00
dll.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
egl.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
exceptions.prf turn off exceptions by default where they aren't required 2012-05-17 05:14:26 +02:00
exceptions_off.prf turn off exceptions by default where they aren't required 2012-05-17 05:14:26 +02:00
exclusive_builds.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
include_source_dir.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
incredibuild_xge.prf remove pointless conditionals+branches 2012-09-19 19:54:44 +02:00
lex.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
link_pkgconfig.prf add support for PKGCONFIG_PRIVATE 2012-08-07 16:40:07 +02:00
moc.prf simplify code by using new $$absolute_path() function 2012-12-07 19:54:39 +01:00
module.prf rename qt_module_config.prf => qt_module.prf 2012-08-08 12:04:49 +02:00
no_debug_info.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
opengles1.prf Add a new qmake feature to support OpenGL ES 1 apps 2012-02-28 22:35:24 +01:00
qml1_module.prf add qml1_{module,plugin}.prf 2012-10-30 21:46:43 +01:00
qml1_plugin.prf add qml1_{module,plugin}.prf 2012-10-30 21:46:43 +01:00
qml_debug.prf Rename the 'declarative debug support' to 'qml debug support' 2012-03-31 16:33:04 +02:00
qml_module.prf Add a new location for QML 2.x imports 2012-11-19 15:25:54 +01:00
qml_plugin.prf Add a new location for QML 2.x imports 2012-11-19 15:25:54 +01:00
qmltestcase.prf Remove declarative from qmltestcase.prf. 2012-05-11 12:52:21 +02:00
qt.prf Pro-file level support for importing plugins for static Qt builds 2012-12-10 15:33:45 +01:00
qt_build_config.prf don't auto-install example sources by default for all modules 2012-12-03 15:56:28 +01:00
qt_build_paths.prf use .qmake.conf instead of sync.profile as "anchor" 2012-11-01 20:17:57 +01:00
qt_config.prf Add a -libexecdir option to the configures 2012-11-28 08:39:07 +01:00
qt_docs.prf don't make the doc installs depend on the regular build 2012-12-05 17:29:46 +01:00
qt_docs_targets.prf fix doc target recursions 2012-12-05 17:29:46 +01:00
qt_example_installs.prf auto-collect qml-related sources 2012-12-03 15:56:28 +01:00
qt_functions.prf introduce QMAKE_RPATHLINKDIR (and QMAKE_LFLAGS_RPATHLINK) 2012-12-03 16:26:37 +01:00
qt_installs.prf centralize doc target related code 2012-12-02 02:16:08 +01:00
qt_module.prf replace all modules' build dirs while installing .pc, .la & .prl files 2012-12-06 12:49:02 +01:00
qt_module_config.prf rename qt_module_config.prf => qt_module.prf 2012-08-08 12:04:49 +02:00
qt_module_fwdpri.prf don't forget to export rpath_link{,_private} to the cache 2012-12-03 15:56:28 +01:00
qt_module_headers.prf expose a little less of the build host's file system structure 2012-11-30 21:57:49 +01:00
qt_parts.prf Added custom flags for enabling dependencies of other parts to tools 2012-11-30 21:57:49 +01:00
qt_plugin.prf Pro-file level support for importing plugins for static Qt builds 2012-12-10 15:33:45 +01:00
qt_targets.prf qmake: Change copyright information from Nokia to Digia 2012-11-26 17:33:37 +01:00
qt_tool.prf bootstrapped tools don't need env var setup 2012-11-22 14:44:53 +01:00
release.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
resolve_target.prf Make it possible to suppress the automatic version number in DLLs 2012-11-06 23:52:47 +01:00
resources.prf remove another dead assignment 2012-12-07 19:54:22 +01:00
shared.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
silent.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
simd.prf Pass NEON_ASM directly to SOURCES. 2012-08-18 08:34:53 +02:00
spec_post.prf fix syntax of warning message 2012-10-16 17:31:31 +02:00
spec_pre.prf centralize initialization of CONFIG in mkspecs 2012-09-08 13:36:20 +02:00
static.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
static_and_shared.prf define have_target CONFIG flag 2012-06-19 16:40:02 +02:00
staticlib.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
testcase.prf add a .qmake.conf file which load()s qt_build_config 2012-10-18 17:42:40 +02:00
testcase_targets.prf factor out testcase_targets.prf 2012-12-03 15:56:28 +01:00
testcocoon.prf fix host vs. makefile directory separator mess 2012-07-28 00:09:45 +02:00
testlib_defines.prf auto-generate module pris 2012-06-19 16:40:06 +02:00
uic.prf simplify code by using new $$absolute_path() function 2012-12-07 19:54:39 +01:00
use_c_linker.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
vxworks.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
warn_off.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
warn_on.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
wayland-scanner.prf Add a wayland-scanner rule to qmake 2011-12-12 17:27:19 +01:00
yacc.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00