[solved] cannot get Qt creator start?



  • I have tried to install and uninstall QT SDK for at least 10times, but it still does not run on my laptop. My laptop is SONY VAIO F: QC corei7 1.73GHz, 4GB RAM, NVIDIA GT425M 1GB, and it is running Windows 7. The program installs successful, but it take about 10 minutes to start the program. However, if I start to write a program, it will stop automatically. If I open the program in safe mode, it will run normally. Anybody have this problem? Please help me. I take a C++ this semester and the exam will be giving soon. I hope the problem will be solved so I can practice at home. Thanks


  • Moderators

    welcome to devnet

    This sounds odd. For helping you one needs to know the source and version of the Qt SDK you installed. Did you install the most recent one from "here":http://qt.nokia.com/downloads ?
    Did you use the online or offline installer?
    Did use the default setup or some selections?


  • Moderators

    I have a bug report about strange creator issues with Sony computers on windows... it seems that Qt Creator does not at all like to have "" and "C:" in the path which some Sony software seems to put there.

    Could you please verify that this is not the case for you?

    PS: This is the bug report: https://bugreports.qt-project.org/browse/QTCREATORBUG-6501


  • Moderators

    Just squashed that bug in the 2.5 branch of Qt Creator.



  • I down and install both online and offline "Qt SDK 1.2" which is the most recent one from qt.nokia.com, but it did not work. Then I downloaded the Qt SDK 1.1.2, but it still did not work. Now I found out the way to fix it. If I turn off the Wifi before I start the program, it will run normally. After that I can turn on the wifi and still use the Qt creator. Wondering why this happens?


  • Moderators

    Did you check the PATH as I suggested yesterday?

    With '' in the path creator used to trigger windows to look up a lot of network drives (until yesterday)... so that would explain why stuff works better for you with wifi turned of.



  • Can you tell me how to set up the PATH??
    [quote author="Tobias Hunger" date="1332488823"]Did you check the PATH as I suggested yesterday?

    With '' in the path creator used to trigger windows to look up a lot of network drives (until yesterday)... so that would explain why stuff works better for you with wifi turned of.[/quote]


  • Moderators

    "Google":http://google.com/?q=path+setup+windows has the necessary instructions.



  • Specifically, this is a good tutorial:

    "How to set environment variables in Windows 7":http://www.itechtalk.com/thread3595.html

    If your variable has gotten kind of long, it's inconvenient to edit in the line editor provided by Windows, so I copy the string to something like WordPad and edit it there, and then paste it back into the line editor.



  • Thanks for all the help. I actually don't know what I have to put in the PATH. I'll ask my instructor or my friends tomorrow.



  • If I'm understanding the comments above, your PATH variable probably contains the right items, but Qt is getting confused by the "" path delimiters. If you replace every occurrence of "" with "/" you might get some different results. It's a quick fix to try, anyway.



  • I replaced all the "" with "/", but Qt still does not run. I will have to turn off wifi if I want to use Qt.


  • Moderators

    No, PATH is a variable handled by windows and it needs to have '' in it. Do not replace '' with '/' everywhere!

    There was a problem in Qt Creator that made it handle a entry in PATH containing only a backslash incorrectly. If you have an "" as one element in your PATH then the startup is slow. Please make sure PATH does not start with ";" as the very first characters, does not end with ";" as the very last characters and does not contain ";;" in all the other places. Either remove this part completely or replace it with "C:" (plus ';' in front/after it, depending on position in the PATH string).

    So far all people running into this issue were using Sony VAIO laptops, so most likely some utility specific to this series of laptops adds "" as one directory to the PATH.



  • Thanks. I did it. now I can run Qt without turn off the wifi :))


  • Moderators

    Great! Please mark this thread as solved then by prepending "[solved]" to the title:-)


Log in to reply
 

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