summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qconfig.cpp.in
blob: f6ce3355997aecb1fe52ac074360252b5c783564 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* This file is used to generate the Qt configuration info for the Core library.
 * The 'qt_generate_qconfig_cpp' cmake routine
 * contains variables that replace '@' entries in this file. It's important to
 * align these values with the following:
 *
 * - QLibraryInfo::LibraryPath enum in qtbase/src/corelib/global/qlibraryinfo.h
 * - qtConfEntries in qtbase/src/corelib/global/qlibraryinfo.cpp
 *
 * The reason for this is pointer mathematics in the QLibraryInfo implementation when iterating
 * qt_configure_strs. Also qtConfEntries are strongly bound to QLibraryInfo::LibraryPath.
 */

/* Installation Info */
static const char qt_configure_prefix_path_str  [12+256] = "qt_prfxpath=@QT_CONFIGURE_PREFIX_PATH_STR@";
static const short qt_configure_str_offsets[] = {
@QT_CONFIG_STR_OFFSETS_FIRST@
};
static const char qt_configure_strs[] =
@QT_CONFIG_STRS_FIRST@
;
#define QT_CONFIGURE_SETTINGS_PATH "@QT_SYS_CONF_DIR@"
#define QT_CONFIGURE_LIBLOCATION_TO_PREFIX_PATH "@QT_CONFIGURE_LIBLOCATION_TO_PREFIX_PATH@"
#define QT_CONFIGURE_PREFIX_PATH qt_configure_prefix_path_str + 12