Qmake from Qt 4.7.3



  • I did create a static build of 4.7.3 with a given prefix "-prefix c:\qt\4.7.3-static-msvc2010" succesfull. After the setup in the QtCreate Qt Version page, the ABI detection points all paths to the correct location except the mkspecs path. It points to the location where the source is. I can solve this issue with overriding the -spec in the qmake build step. But this is not what I want and now I have to do this for all projects. How can I solve this?


  • Moderators

    I guess that is a qmake issue, not a Qt Creator one. Creator gets the values from qmake running @qmake -query@



  • Here the output @c:\Qt\qcodeedit-2.2.3>c:\qt\4.7.3-static-msvc2010\bin\qmake.exe -query
    QT_INSTALL_PREFIX:c:\qt\4.7.3-static-msvc2010
    QT_INSTALL_DATA:c:\qt\4.7.3-static-msvc2010
    QT_INSTALL_DOCS:c:\qt\4.7.3-static-msvc2010\doc
    QT_INSTALL_HEADERS:c:\qt\4.7.3-static-msvc2010\include
    QT_INSTALL_LIBS:c:\qt\4.7.3-static-msvc2010\lib
    QT_INSTALL_BINS:c:\qt\4.7.3-static-msvc2010\bin
    QT_INSTALL_PLUGINS:c:\qt\4.7.3-static-msvc2010\plugins
    QT_INSTALL_IMPORTS:c:\qt\4.7.3-static-msvc2010\imports
    QT_INSTALL_TRANSLATIONS:c:\qt\4.7.3-static-msvc2010\translations
    QT_INSTALL_CONFIGURATION:c:/qt/4.7.3-static-msvc2010
    QT_INSTALL_EXAMPLES:c:\qt\4.7.3-static-msvc2010\examples
    QT_INSTALL_DEMOS:c:\qt\4.7.3-static-msvc2010\demos
    QMAKE_MKSPECS:c:\qt\4.7.3-static-msvc2010\mkspecs
    QMAKE_VERSION:2.01a
    QT_VERSION:4.7.3@

    So I don't think so, that this is a qmake issue.


  • Moderators

    Those pathes looks OK to me.

    So where is a wrong path reported?



  • Take a look here !http://img835.imageshack.us/img835/1448/qtversion1.png(Qt Version Page)!
    So in the tool tip in Qt Version page and in the qmake build step as I mentioned above.

    [edit]
    I think the picture doen't work. Here the link to the image http://imageshack.us/photo/my-images/835/qtversion1.png/

    [EDIT: fixed image link, Volker]


  • Moderators

    The mkspec path is on windows extracted from the QMAKESPEC_ORIGINAL line in QMAKE_MKSPEC/default/qmake.conf. I guess that one points to the sources for you.

    Did you "make install" Qt?



  • Yes, I did a "make install" or "jom install". To compile the libs I use a batch script: @configure -static -release -fast -ltcg -nomake tools -nomake demos -nomake examples -no-qt3support -opensource -confirm-license -prefix c:\qt\4.7.3-static-msvc2010 && jom && jom install
    @



  • Is there anything what I can do to solve this issue or to investigate it?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.