Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 2.2.0-rc1, Qt Creator 2.2.0, Qt Creator 2.3.0, Qt Creator 2.4.0
-
None
-
Win XP/7 (win32/Win64) MinGW or MSVC 2008/2010
-
fcf82b74b650238e4bdcda19fe45833e7a2b0e74
Description
Qt4.7.4/4.8(static version only) compiled by different compilers minGW and VC++ successfully.
but after I tried to add in QtCreator (2.1(SDK) or later compiled from Git Repository, All of them shows warning: "Failed to detect the ABI(s) used by the Qt version."
When opening a .pro file, Creator shows: "No valid Qt versions found"
####
QMake -query
QT_INSTALL_PREFIX:C:\QtSDK\Desktop\Qt\4.7.4\msvc2008-static
QT_INSTALL_DATA:C:\QtSDK\Desktop\Qt\4.7.4\msvc2008-static
QT_INSTALL_DOCS:C:\QtSDK\Desktop\Qt\4.7.4\msvc2008-static\doc
QT_INSTALL_HEADERS:C:\QtSDK\Desktop\Qt\4.7.4\msvc2008-static\include
QT_INSTALL_LIBS:C:\QtSDK\Desktop\Qt\4.7.4\msvc2008-static\lib
QT_INSTALL_BINS:C:\QtSDK\Desktop\Qt\4.7.4\msvc2008-static\bin
QT_INSTALL_PLUGINS:C:\QtSDK\Desktop\Qt\4.7.4\msvc2008-static\plugins
QT_INSTALL_IMPORTS:C:\QtSDK\Desktop\Qt\4.7.4\msvc2008-static\imports
QT_INSTALL_TRANSLATIONS:C:\QtSDK\Desktop\Qt\4.7.4\msvc2008-static\translations
QT_INSTALL_CONFIGURATION:C:/QtSDK/Desktop/Qt/4.7.4/msvc2008-static
QT_INSTALL_EXAMPLES:C:\QtSDK\Desktop\Qt\4.7.4\msvc2008-static\examples
QT_INSTALL_DEMOS:C:\QtSDK\Desktop\Qt\4.7.4\msvc2008-static\demos
QMAKE_MKSPECS:C:\QtSDK\Desktop\Qt\4.7.4\msvc2008-static\mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.7.4
#######################################################
Sample detail of How I configured Static Build:
– Modified MKSPECS/win32-msvc2008/qmake.conf
DEFINES += UNICODE WIN32 QT_LARGEFILE_SUPPORT QT_STATIC_BUILD
QMAKE_CFLAGS_RELEASE = -O1 -GL -MD
QMAKE_LFLAGS_RELEASE = /INCREMENTAL:NO /LTCG
– Modfied \src\3rdparty\webkit\WebKit.pri
CONFIG += staticlib
– Modfied qmake\Makefile.win32
LFLAGS = -static
using Visual Studio Command Prompt + JOM + OpenSSL Paths added to Command Prompt
configure.exe -static -release -opensource -confirm-license -platform win32-msvc2008 -no-qt3support -webkit -qt-sql-sqlite -qt-zlib -qt-libpng -qt-libjpeg -qt-libtiff
bin\qmake.exe projects.pro QT_BUILD_PARTS="libs" JAVASCRIPTCORE_JIT="yes"
..\jom\jom.exe -j 4
#######################################################
Also I attached files listing of QT_INSTALL_LIBS and QT_INSTALL_BINS (as shown in Qmake query == same as the path I configured to installed )
all QtCore files are available except QtCore4D!!!! ?
Thanks in advance
Attachments
Issue Links
- is required for
-
QTCREATORBUG-4212 No valid Qt versions found / Failed to detect the ABI
- Closed