Changeset 407


Ignore:
Timestamp:
Dec 10, 2009, 12:57:16 AM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake: Create application instance so that QLibraryInfo will pick up a qt.conf file if there is any in the qmake executable's directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qmake/main.cpp

    r363 r407  
    5656#include <sys/stat.h>
    5757
     58#ifndef QT_BUILD_QMAKE
     59#include <qcoreapplication.h>
     60#endif
     61
    5862QT_BEGIN_NAMESPACE
    5963
     
    8589int runQMake(int argc, char **argv)
    8690{
     91#ifndef QT_BUILD_QMAKE
     92    // create application instance so that QLibraryInfo will pick up a qt.conf
     93    // file if there is any in the executable's directory
     94    QCoreApplication coreApp(argc, argv);
     95#endif
     96
    8797    // parse command line
    8898    int ret = Option::init(argc, argv);
Note: See TracChangeset for help on using the changeset viewer.