Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-4771

No valid Qt versions found / Failed to detect the ABI (only Static compile)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 2.3.0
    • Qt Creator 2.2.0-rc1, Qt Creator 2.2.0, Qt Creator 2.3.0, Qt Creator 2.4.0
    • All Other Issues
    • 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

        1. 4.7.2.rar
          992 kB
        2. 4.7.4.rar
          874 kB
        3. BinDirectoryListing.png
          BinDirectoryListing.png
          177 kB
        4. Qt 4.7.4-Creator2.2.81.png
          Qt 4.7.4-Creator2.2.81.png
          192 kB
        5. Qt 4.7.4-Creator2.2.png
          Qt 4.7.4-Creator2.2.png
          147 kB
        6. QtStaticDirectoryListing.txt
          6 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              hunger Tobias Hunger
              satmosc Majid Hatami
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes