src/corelib/global/qlibraryinfo.cpp
changeset 37 758a864f9613
parent 30 5dc02b23752f
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
    63 #endif
    63 #endif
    64 
    64 
    65 #include "qconfig.cpp"
    65 #include "qconfig.cpp"
    66 
    66 
    67 QT_BEGIN_NAMESPACE
    67 QT_BEGIN_NAMESPACE
       
    68 
       
    69 extern void qDumpCPUFeatures(); // in qsimd.cpp
    68 
    70 
    69 #ifndef QT_NO_SETTINGS
    71 #ifndef QT_NO_SETTINGS
    70 
    72 
    71 struct QLibrarySettings
    73 struct QLibrarySettings
    72 {
    74 {
   474     specifier:
   476     specifier:
   475 
   477 
   476     \value PrefixPath The default prefix for all paths.
   478     \value PrefixPath The default prefix for all paths.
   477     \value DocumentationPath The location for documentation upon install.
   479     \value DocumentationPath The location for documentation upon install.
   478     \value HeadersPath The location for all headers.
   480     \value HeadersPath The location for all headers.
   479     \value LibrariesPath The location of installed librarires.
   481     \value LibrariesPath The location of installed libraries.
   480     \value BinariesPath The location of installed Qt binaries (tools and applications).
   482     \value BinariesPath The location of installed Qt binaries (tools and applications).
   481     \value PluginsPath The location of installed Qt plugins.
   483     \value PluginsPath The location of installed Qt plugins.
   482     \value ImportsPath The location of installed QML extensions to import.
   484     \value ImportsPath The location of installed QML extensions to import.
   483     \value DataPath The location of general Qt data.
   485     \value DataPath The location of general Qt data.
   484     \value TranslationsPath The location of translation information for Qt strings.
   486     \value TranslationsPath The location of translation information for Qt strings.
   506     printf("This is the QtCore library version " QT_VERSION_STR "\n"
   508     printf("This is the QtCore library version " QT_VERSION_STR "\n"
   507            "Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).\n"
   509            "Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).\n"
   508            "Contact: Nokia Corporation (qt-info@nokia.com)\n"
   510            "Contact: Nokia Corporation (qt-info@nokia.com)\n"
   509            "\n"
   511            "\n"
   510            "Build key:           " QT_BUILD_KEY "\n"
   512            "Build key:           " QT_BUILD_KEY "\n"
       
   513            "Compat build key:    "
       
   514 #ifdef QT_BUILD_KEY_COMPAT
       
   515            "| " QT_BUILD_KEY_COMPAT " "
       
   516 #endif
       
   517 #ifdef QT_BUILD_KEY_COMPAT2
       
   518            "| " QT_BUILD_KEY_COMPAT2 " "
       
   519 #endif
       
   520            "|\n"
   511            "Build date:          %s\n"
   521            "Build date:          %s\n"
   512            "Installation prefix: %s\n"
   522            "Installation prefix: %s\n"
   513            "Library path:        %s\n"
   523            "Library path:        %s\n"
   514            "Include path:        %s\n",
   524            "Include path:        %s\n",
   515            qt_configure_installation + 12,
   525            qt_configure_installation + 12,
   516            qt_configure_prefix_path_str + 12,
   526            qt_configure_prefix_path_str + 12,
   517            qt_configure_libraries_path_str + 12,
   527            qt_configure_libraries_path_str + 12,
   518            qt_configure_headers_path_str + 12);
   528            qt_configure_headers_path_str + 12);
   519 
   529 
       
   530     QT_PREPEND_NAMESPACE(qDumpCPUFeatures)();
       
   531 
   520 #ifdef QT_EVAL
   532 #ifdef QT_EVAL
   521     extern void qt_core_eval_init(uint);
   533     extern void qt_core_eval_init(uint);
   522     qt_core_eval_init(1);
   534     qt_core_eval_init(1);
   523 #endif
   535 #endif
   524 
   536