Qt not working after install it



  • Hi, I've tried to find a valid solution for about 2 weeks, but w/o success.

    I've installed the last stable version of Qt for Windows Vista, available in the official web. My problem is that I can't compile any project. Qt Creator opens w/o any problem, and I can code my application. But I can't build it. The button that accomplish that task is disabled, as you can see:

    !http://img534.imageshack.us/img534/1826/62675356.jpg(http://img534.imageshack.us/img534/1826/62675356.jpg)!

    I go to the options menu, and I see this:

    !http://img821.imageshack.us/img821/6263/44040282.jpg(http://img821.imageshack.us/img821/6263/44040282.jpg)!

    Why is not properly installed? I've just installed it! :S

    !http://img535.imageshack.us/img535/3674/71181880.jpg(http://img535.imageshack.us/img535/3674/71181880.jpg)!

    I've been coding in PyQt without any problem for 2 years, so this is really odd I think, as I'm using an original version of Qt without any modification (it MUST work, doesn't it?). I hope you can help me. Thanks in advance.



  • For me, auto-detected is not work. You should add to manual by clicking "Add" button shown in second photo & point it to above address.(Qt 4.7.4 for Desktop)



  • It's not working. The path is exactly the same than in the auto-detect case. If I "Add" it by the "Manual" mode, it shows the same option and it shows the same warning/error.

    !http://img534.imageshack.us/img534/9349/57641235.jpg(http://img534.imageshack.us/img534/9349/57641235.jpg)!

    In this screenshot I've just added MS Visual C++ for trying something different, but it's useless too.

    This is why I think it's odd. I don't know what's happening.


  • Moderators

    Please "file a bug report":http://bugreports.qt.nokia.com/ against the Qt SDK.

    It would be a great help if you could include the output of running the broken qmake's with the "-query" argument as well as the qtversions.xml file found in QtCreator/share/qtcreator/Nokia. Thanks!



  • Ok, I opened a bug report. URL: https://bugreports.qt.nokia.com/browse/QTSDK-1046

    The command "qmake -query" shows the next:

    @C:\Creación\QtSDK\Desktop\Qt\4.7.4\mingw\bin>qmake -query
    QT_INSTALL_PREFIX:C:\ndk_builddirectory\Qt\4.7\desktop_mingw
    QT_INSTALL_DATA:C:/ndk_builddirectory/Qt/4.7/desktop_mingw
    QT_INSTALL_DOCS:C:/ndk_builddirectory/Qt/4.7/desktop_mingw/doc
    QT_INSTALL_HEADERS:C:/ndk_builddirectory/Qt/4.7/desktop_mingw/include
    QT_INSTALL_LIBS:C:/ndk_builddirectory/Qt/4.7/desktop_mingw/lib
    QT_INSTALL_BINS:C:/ndk_builddirectory/Qt/4.7/desktop_mingw/bin
    QT_INSTALL_PLUGINS:C:/ndk_builddirectory/Qt/4.7/desktop_mingw/plugins
    QT_INSTALL_IMPORTS:C:/ndk_builddirectory/Qt/4.7/desktop_mingw/imports
    QT_INSTALL_TRANSLATIONS:C:/ndk_builddirectory/Qt/4.7/desktop_mingw/translations
    QT_INSTALL_CONFIGURATION:C:/ndk_builddirectory/Qt/4.7/desktop_mingw
    QT_INSTALL_EXAMPLES:C:\Creaci├│n\QtSDK\Examples\4.7
    QT_INSTALL_DEMOS:C:\Creaci├│n\QtSDK\Demos\4.7
    QMAKE_MKSPECS:C:/ndk_builddirectory/Qt/4.7/desktop_mingw\mkspecs
    QMAKE_VERSION:2.01a
    QT_VERSION:4.7.4@

    And qtversions.xml:

    @<!DOCTYPE QtCreatorQtVersions>
    <qtcreator>
    <data>
    <variable>QtVersion.0</variable>
    <valuemap type="QVariantMap">
    <value key="Id" type="int">-1</value>
    <value key="Name" type="QString">Qt 4.7.4 for Desktop - MinGW 4.4 (Qt SDK)</value>
    <value key="QMakePath" type="QString">C:/Creación/QtSDK/Desktop/Qt/4.7.4/mingw/bin/qmake.exe</value>
    <value key="QtVersion.Type" type="QString">Qt4ProjectManager.QtVersion.Desktop</value>
    <value key="autodetectionSource" type="QString">SDK.Desktop4.7.4.mingw44</value>
    <value key="isAutodetected" type="bool">true</value>
    </valuemap>
    </data>
    <data>
    <variable>QtVersion.1</variable>
    <valuemap type="QVariantMap">
    <value key="Id" type="int">-1</value>
    <value key="Name" type="QString">Simulator Qt for MinGW 4.4 (Qt SDK)</value>
    <value key="QMakePath" type="QString">C:/Creación/QtSDK/Simulator/Qt/mingw/bin/qmake.exe</value>
    <value key="QtVersion.Type" type="QString">Qt4ProjectManager.QtVersion.Simulator</value>
    <value key="autodetectionSource" type="QString">SDK.Simulator.mingw</value>
    <value key="isAutodetected" type="bool">true</value>
    </valuemap>
    </data>
    <data>
    <variable>QtVersion.2</variable>
    <valuemap type="QVariantMap">
    <value key="Id" type="int">-1</value>
    <value key="Name" type="QString">Qt 4.7.4 for Desktop - MSVC2008 (Qt SDK)</value>
    <value key="QMakePath" type="QString">C:/Creación/QtSDK/Desktop/Qt/4.7.4/msvc2008/bin/qmake.exe</value>
    <value key="QtVersion.Type" type="QString">Qt4ProjectManager.QtVersion.Desktop</value>
    <value key="autodetectionSource" type="QString">SDK.Desktop4.7.4.msvc2008</value>
    <value key="isAutodetected" type="bool">true</value>
    </valuemap>
    </data>
    <data>
    <variable>QtVersion.Count</variable>
    <value type="int">3</value>
    </data>
    <data>
    <variable>Version</variable>
    <value type="int">1</value>
    </data>
    </qtcreator>@

    ¿ndk_builddirectory? :S :S


  • Moderators

    Please report a bug next time and just append everything related to the issue you are facing there. The developers will read the bug reports, but there is a high likelihood that they will not stumble over any thread in the forum.



  • Ok, I'll re-post that information in there. Thanks.


Log in to reply
 

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