Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QT Creator doesn't open after installation

QT Creator doesn't open after installation

Scheduled Pinned Locked Moved Installation and Deployment
19 Posts 5 Posters 11.8k Views
  • 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.
  • S Offline
    S Offline
    SGaist
    Lifetime Qt Champion
    wrote on 25 Jun 2015, 22:00 last edited by
    #6

    Well, that strange, did the installation fail at some point ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    C 1 Reply Last reply 25 Jun 2015, 22:01
    0
    • S SGaist
      25 Jun 2015, 22:00

      Well, that strange, did the installation fail at some point ?

      C Offline
      C Offline
      Crazybunny
      wrote on 25 Jun 2015, 22:01 last edited by
      #7

      @SGaist No it didn't. Should i reinstall again?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 25 Jun 2015, 22:02 last edited by
        #8

        Looks like the best thing to do, especially if there's no exe file containing creator anywhere

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        C 2 Replies Last reply 25 Jun 2015, 22:06
        0
        • S SGaist
          25 Jun 2015, 22:02

          Looks like the best thing to do, especially if there's no exe file containing creator anywhere

          C Offline
          C Offline
          Crazybunny
          wrote on 25 Jun 2015, 22:06 last edited by
          #9

          @SGaist Ok, I'll do that and report back if it doesn't work. Thanks for your time.

          1 Reply Last reply
          0
          • S SGaist
            25 Jun 2015, 22:02

            Looks like the best thing to do, especially if there's no exe file containing creator anywhere

            C Offline
            C Offline
            Crazybunny
            wrote on 25 Jun 2015, 22:17 last edited by
            #10

            @SGaist I reinstalled it and there is no .exe for creator, Is there anything else i can try?

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mchinand
              wrote on 26 Jun 2015, 16:21 last edited by
              #11

              For the Visual Studio installs, the QtCreator executable is in C:\Qt\Qt5.4.2\Tools\QtCreator\bin. I'm assuming it will be the same for MinGW installs too. You may have needed to select 'tools' during the installation for it to install QtCreator.

              1 Reply Last reply
              0
              • H Offline
                H Offline
                hipersayan_x
                wrote on 26 Jun 2015, 16:52 last edited by hipersayan_x
                #12

                Same problem here,

                SO: Windows 10 Preview Insider.
                Qt: 5.4.2

                I can't open Qt Creator, I have tried downgrading to Qt 5.3 and Qt Creator 3.3, but it doesn't work.
                @Crazybunny and @mchinand, in MinGW, QtCreator binary is located at C:\Qt\Tools\QtCreator\bin\qtcreator.exe, running from terminal, it doesn't give any error message.

                A 1 Reply Last reply 27 Jun 2015, 01:12
                0
                • H hipersayan_x
                  26 Jun 2015, 16:52

                  Same problem here,

                  SO: Windows 10 Preview Insider.
                  Qt: 5.4.2

                  I can't open Qt Creator, I have tried downgrading to Qt 5.3 and Qt Creator 3.3, but it doesn't work.
                  @Crazybunny and @mchinand, in MinGW, QtCreator binary is located at C:\Qt\Tools\QtCreator\bin\qtcreator.exe, running from terminal, it doesn't give any error message.

                  A Offline
                  A Offline
                  ambershark
                  wrote on 27 Jun 2015, 01:12 last edited by
                  #13

                  @hipersayan_x If you're running in an msys shell you can use strace qtcreator.exe and it will show you the system calls it is making. That should shed some light on what is happening.

                  If you don't use msys then you can use procmon but it would be a lot more complicated than a simple strace.

                  My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

                  1 Reply Last reply
                  0
                  • H Offline
                    H Offline
                    hipersayan_x
                    wrote on 27 Jun 2015, 18:21 last edited by hipersayan_x
                    #14

                    @ambershark, strace is not installed in MSYS, and I can't understand the output of procmon.

                    Edit: Ok, I found it, strace can be installed with:

                    mingw-get install msys-core-dbg

                    But it does not gives any error output.

                    A 1 Reply Last reply 27 Jun 2015, 22:23
                    0
                    • H hipersayan_x
                      27 Jun 2015, 18:21

                      @ambershark, strace is not installed in MSYS, and I can't understand the output of procmon.

                      Edit: Ok, I found it, strace can be installed with:

                      mingw-get install msys-core-dbg

                      But it does not gives any error output.

                      A Offline
                      A Offline
                      ambershark
                      wrote on 27 Jun 2015, 22:23 last edited by
                      #15

                      @hipersayan_x What output does it give?

                      My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

                      1 Reply Last reply
                      0
                      • H Offline
                        H Offline
                        hipersayan_x
                        wrote on 27 Jun 2015, 23:51 last edited by
                        #16

                        @ambershark if you are referring to strace, it shows absolutely nothing, about procmon, this is the output in CSV format.

                        A 1 Reply Last reply 28 Jun 2015, 03:37
                        0
                        • H hipersayan_x
                          27 Jun 2015, 23:51

                          @ambershark if you are referring to strace, it shows absolutely nothing, about procmon, this is the output in CSV format.

                          A Offline
                          A Offline
                          ambershark
                          wrote on 28 Jun 2015, 03:37 last edited by
                          #17

                          @hipersayan_x Very odd that strace shows nothing. That means it's not working. It will always show something. No big deal though, procmon has all the info you need.

                          So looking through that log, I notice 2 things,

                          1. Qtcreator is crashing and calling werfault.exe which is windows' error reporting tool. Based on this line in the procmon log:
                            "08:38:17,2428061 p.m.","qtcreator.exe","376","Process Create","C:\WINDOWS\system32\WerFault.exe","SUCCESS","PID: 3204, Command line: C:\WINDOWS\system32\WerFault.exe -u -p 376 -s 1236"

                          2. Qtcreator is exiting without a 0 return code indicating a failure based on this line:
                            "08:38:30,2722231 p.m.","qtcreator.exe","376","Process Exit","","SUCCESS","Exit Status: -1073741819, User Time: 0.8437500 seconds, Kernel Time: 1.2500000 seconds, Private Bytes: 54.972.416, Peak Private Bytes: 55.103.488, Working Set: 100.925.440, Peak Working Set: 101.199.872"

                          Surprisingly werfault.exe should be displaying a "this app has crashed" type message with debugging information. Weird that it isn't. From your original post you said it wasn't displaying any error.

                          You could dig through that procmon log in more detail, I don't really have time to go that in depth on this. You may find something that it is trying to start/use that is failing or something.

                          Finally my last advice would be to start qtcreator in a debugger, then you could get a backtrace and hopefully that might have a clue as to what is going on.

                          For instance I used gdb on assistant (I don't have or use qt creator) and this was the backtrace I got when I interrupted it:

                          Program received signal SIGINT, Interrupt.
                          0x00007ffff2739c8d in poll () from /lib64/libc.so.6
                          (gdb) bt
                          #0  0x00007ffff2739c8d in poll () from /lib64/libc.so.6
                          #1  0x00007ffff0498734 in ?? () from /usr/lib64/libglib-2.0.so.0
                          #2  0x00007ffff049883c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
                          #3  0x00007ffff3a2d25b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
                              () from /usr/local/Qt-5.4.2/lib/libQt5Core.so.5
                          #4  0x00007ffff39d3e8b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
                             from /usr/local/Qt-5.4.2/lib/libQt5Core.so.5
                          #5  0x00007ffff39db516 in QCoreApplication::exec() () from /usr/local/Qt-5.4.2/lib/libQt5Core.so.5
                          #6  0x00000000004240fe in ?? ()
                          #7  0x00007ffff267caa5 in __libc_start_main () from /lib64/libc.so.6
                          #8  0x0000000000424790 in ?? ()
                          (gdb) 
                          

                          So that shows me it was in the processEvents loop when I broke in. Maybe (especially since you are crashing) you could get a useful bt. Post it here if you get one and I can take a peek at it, see if I notice something.

                          Oh one last thing, I noticed in procmon you were running in a virtualbox. I have had issues with qt creator in virtualbox/windows before. It was a long time ago, 2 or 3 years, so I don't remember the exact problem. It had something to do with drawing and 3D or opengl or something like that. Like I said I can't remember, just remember having an issue. Of course I don't remember my resolution either. :/ It also didn't cause a crash but just caused the welcome page not to load. But just throwing that out there in case that sparks something in your head.

                          My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

                          H 1 Reply Last reply 28 Jun 2015, 15:09
                          1
                          • A ambershark
                            28 Jun 2015, 03:37

                            @hipersayan_x Very odd that strace shows nothing. That means it's not working. It will always show something. No big deal though, procmon has all the info you need.

                            So looking through that log, I notice 2 things,

                            1. Qtcreator is crashing and calling werfault.exe which is windows' error reporting tool. Based on this line in the procmon log:
                              "08:38:17,2428061 p.m.","qtcreator.exe","376","Process Create","C:\WINDOWS\system32\WerFault.exe","SUCCESS","PID: 3204, Command line: C:\WINDOWS\system32\WerFault.exe -u -p 376 -s 1236"

                            2. Qtcreator is exiting without a 0 return code indicating a failure based on this line:
                              "08:38:30,2722231 p.m.","qtcreator.exe","376","Process Exit","","SUCCESS","Exit Status: -1073741819, User Time: 0.8437500 seconds, Kernel Time: 1.2500000 seconds, Private Bytes: 54.972.416, Peak Private Bytes: 55.103.488, Working Set: 100.925.440, Peak Working Set: 101.199.872"

                            Surprisingly werfault.exe should be displaying a "this app has crashed" type message with debugging information. Weird that it isn't. From your original post you said it wasn't displaying any error.

                            You could dig through that procmon log in more detail, I don't really have time to go that in depth on this. You may find something that it is trying to start/use that is failing or something.

                            Finally my last advice would be to start qtcreator in a debugger, then you could get a backtrace and hopefully that might have a clue as to what is going on.

                            For instance I used gdb on assistant (I don't have or use qt creator) and this was the backtrace I got when I interrupted it:

                            Program received signal SIGINT, Interrupt.
                            0x00007ffff2739c8d in poll () from /lib64/libc.so.6
                            (gdb) bt
                            #0  0x00007ffff2739c8d in poll () from /lib64/libc.so.6
                            #1  0x00007ffff0498734 in ?? () from /usr/lib64/libglib-2.0.so.0
                            #2  0x00007ffff049883c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
                            #3  0x00007ffff3a2d25b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
                                () from /usr/local/Qt-5.4.2/lib/libQt5Core.so.5
                            #4  0x00007ffff39d3e8b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
                               from /usr/local/Qt-5.4.2/lib/libQt5Core.so.5
                            #5  0x00007ffff39db516 in QCoreApplication::exec() () from /usr/local/Qt-5.4.2/lib/libQt5Core.so.5
                            #6  0x00000000004240fe in ?? ()
                            #7  0x00007ffff267caa5 in __libc_start_main () from /lib64/libc.so.6
                            #8  0x0000000000424790 in ?? ()
                            (gdb) 
                            

                            So that shows me it was in the processEvents loop when I broke in. Maybe (especially since you are crashing) you could get a useful bt. Post it here if you get one and I can take a peek at it, see if I notice something.

                            Oh one last thing, I noticed in procmon you were running in a virtualbox. I have had issues with qt creator in virtualbox/windows before. It was a long time ago, 2 or 3 years, so I don't remember the exact problem. It had something to do with drawing and 3D or opengl or something like that. Like I said I can't remember, just remember having an issue. Of course I don't remember my resolution either. :/ It also didn't cause a crash but just caused the welcome page not to load. But just throwing that out there in case that sparks something in your head.

                            H Offline
                            H Offline
                            hipersayan_x
                            wrote on 28 Jun 2015, 15:09 last edited by hipersayan_x
                            #18

                            @ambershark said:

                            Surprisingly werfault.exe should be displaying a "this app has crashed" type message with debugging information. Weird that it isn't. From your original post you said it wasn't displaying any error.
                            Finally my last advice would be to start qtcreator in a debugger, then you could get a backtrace and hopefully that might have a clue as to what is going on.

                            Ok, I'm starting to think that definitively its not a problem of Qt Creator, but a Windows thing. After running qtcreator with GDB, after a few seconds of running, qtcreator start some threads, then GDB show a message that says sect_index_data not initialized, and finally, GDB dies with a dialog box and a message in console that says the apps stopped working, thats all, no debugging trace, no nothing :/

                            Oh one last thing, I noticed in procmon you were running in a virtualbox. I have had issues with qt creator in virtualbox/windows before. It was a long time ago, 2 or 3 years, so I don't remember the exact problem. It had something to do with drawing and 3D or opengl or something like that. Like I said I can't remember, just remember having an issue. Of course I don't remember my resolution either. :/ It also didn't cause a crash but just caused the welcome page not to load. But just throwing that out there in case that sparks something in your head.

                            A few hours before all this happens, I was running Qt Creator normally (I don't remember what version was then), and after a full system update, it stopped working. But when working, my app started with a blank window and showing this messages:

                            Qt: Untested Windows version 10.0 detected!
                            QML debugging is enabled. Only use this in a safe environment.
                            QOpenGLBuffer::bind(): buffer not created
                            QOpenGLBuffer::allocate(): buffer not created
                            QOpenGLBuffer::release(): buffer not created
                            QOpenGLBuffer::bind(): buffer not created
                            QOpenGLBuffer::allocate(): buffer not created
                            QOpenGLBuffer::release(): buffer not created
                            QOpenGLBuffer::bind(): buffer not created
                            QOpenGLBuffer::allocate(): buffer not created
                            QOpenGLBuffer::release(): buffer not created
                            QOpenGLShader: could not create shader
                            QOpenGLShaderProgram: could not create shader program
                            QOpenGLShader: could not create shader
                            QOpenGLBuffer::bind(): buffer not created
                            QOpenGLBuffer::release(): buffer not created
                            QOpenGLShaderProgram::uniformLocation( imageTexture ): shader program is not linked
                            QOpenGLBuffer::bind(): buffer not created
                            QOpenGLBuffer::allocate(): buffer not created
                            QOpenGLBuffer::release(): buffer not created
                            QOpenGLShader: could not create shader
                            QOpenGLShaderProgram: could not create shader program
                            QOpenGLShader: could not create shader
                            QOpenGLBuffer::bind(): buffer not created
                            QOpenGLBuffer::release(): buffer not created
                            QOpenGLShaderProgram::uniformLocation( imageTexture ): shader program is not linked
                            QOpenGLBuffer::bind(): buffer not created
                            QOpenGLBuffer::allocate(): buffer not created
                            QOpenGLBuffer::release(): buffer not created
                            QOpenGLShaderProgram: could not create shader program
                            QOpenGLShader: could not create shader
                            QOpenGLShader: could not create shader
                            shader compilation failed:
                            ""
                            

                            But when working in Windows 8.1, it worked flawlessly in VirtualBox. I will try a downgrade to Windows 8.1.

                            Anyway, thank you very much @ambershark, your responses where very helpful :)

                            1 Reply Last reply
                            0
                            • A Offline
                              A Offline
                              ambershark
                              wrote on 29 Jun 2015, 00:47 last edited by
                              #19

                              Ah that makes sense then. VirtualBox is a bit behind when coming to upgrades for windows, especially ones that aren't officially released yet.

                              It looks like it is having problems with OpenGL again which was a problem I noticed before in my vm using qt creator.

                              I would definitely blame virtualbox at this point. Good news is they are pretty quick to get things working well within a month of official releases. Usually they are ready before the official release.

                              My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

                              1 Reply Last reply
                              0

                              15/19

                              27 Jun 2015, 22:23

                              • Login

                              • Login or register to search.
                              15 out of 19
                              • First post
                                15/19
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Users
                              • Groups
                              • Search
                              • Get Qt Extensions
                              • Unsolved