Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    [solved] cannot get Qt creator start?

    Tools
    4
    15
    10231
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Cmnn last edited by

      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

      1 Reply Last reply Reply Quote 0
      • K
        koahnig last edited by

        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?

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply Reply Quote 0
        • T
          tobias.hunger last edited by

          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

          1 Reply Last reply Reply Quote 0
          • T
            tobias.hunger last edited by

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

            1 Reply Last reply Reply Quote 0
            • C
              Cmnn last edited by

              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?

              1 Reply Last reply Reply Quote 0
              • T
                tobias.hunger last edited by

                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.

                1 Reply Last reply Reply Quote 0
                • C
                  Cmnn last edited by

                  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]

                  1 Reply Last reply Reply Quote 0
                  • T
                    tobias.hunger last edited by

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

                    1 Reply Last reply Reply Quote 0
                    • mzimmers
                      mzimmers last edited by

                      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.

                      1 Reply Last reply Reply Quote 0
                      • C
                        Cmnn last edited by

                        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.

                        1 Reply Last reply Reply Quote 0
                        • mzimmers
                          mzimmers last edited by

                          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.

                          1 Reply Last reply Reply Quote 0
                          • C
                            Cmnn last edited by

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

                            1 Reply Last reply Reply Quote 0
                            • T
                              tobias.hunger last edited by

                              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.

                              1 Reply Last reply Reply Quote 0
                              • C
                                Cmnn last edited by

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

                                1 Reply Last reply Reply Quote 0
                                • T
                                  tobias.hunger last edited by

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

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post