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. Compilation successful but Qt executables do not start (designer.exe, linguist.exe...)
Forum Updated to NodeBB v4.3 + New Features

Compilation successful but Qt executables do not start (designer.exe, linguist.exe...)

Scheduled Pinned Locked Moved Solved Installation and Deployment
12 Posts 6 Posters 1.3k Views 3 Watching
  • 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.
  • Christian EhrlicherC Offline
    Christian EhrlicherC Offline
    Christian Ehrlicher
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Why do you want to compile Qt by your own?

    I get a help window with some options

    How does it look like?

    Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
    Visit the Qt Academy at https://academy.qt.io/catalog

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #3

      @MalitheBIG said in Compilation successful but Qt executables do not start (designer.exe, linguist.exe...):

      Are you using Windows or Linux?

      Look at the paths, the compiler... it's Windows of course.

      (Z(:^

      1 Reply Last reply
      0
      • A Offline
        A Offline
        ads1234
        wrote on last edited by ads1234
        #4

        @MalitheBIG said in Compilation successful but Qt executables do not start (designer.exe, linguist.exe...):

        Are you using Windows or Linux? Which Windows or Linux, which verison are you using of QT and Windows. Please give us more informations!

        I am using Windows 10, x64. Latest version of Qt available, Qt 5.15.1.

        @Christian-Ehrlicher said in Compilation successful but Qt executables do not start (designer.exe, linguist.exe...):

        Why do you want to compile Qt by your own?

        I get a help window with some options

        How does it look like?

        I am trying to build from source due to the lack of an offline installer, but if it gets too complicated I might consider the online installer an alternative, readme´s made it seem it would be straightforward!

        This is the screen I get:

        6dfb90fb-9593-4a24-a06a-336e6d5f7515-image.png

        I just realized that if I move that window or press the OK button, Qt Designer just crashes or enters into "non responding" mode.

        Thanks for your time/help.

        sierdzioS jsulmJ 2 Replies Last reply
        0
        • Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #5

          And what happens when you don't start with '--help' ?

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          A 1 Reply Last reply
          0
          • A ads1234

            @MalitheBIG said in Compilation successful but Qt executables do not start (designer.exe, linguist.exe...):

            Are you using Windows or Linux? Which Windows or Linux, which verison are you using of QT and Windows. Please give us more informations!

            I am using Windows 10, x64. Latest version of Qt available, Qt 5.15.1.

            @Christian-Ehrlicher said in Compilation successful but Qt executables do not start (designer.exe, linguist.exe...):

            Why do you want to compile Qt by your own?

            I get a help window with some options

            How does it look like?

            I am trying to build from source due to the lack of an offline installer, but if it gets too complicated I might consider the online installer an alternative, readme´s made it seem it would be straightforward!

            This is the screen I get:

            6dfb90fb-9593-4a24-a06a-336e6d5f7515-image.png

            I just realized that if I move that window or press the OK button, Qt Designer just crashes or enters into "non responding" mode.

            Thanks for your time/help.

            sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #6

            @ads1234 said in Compilation successful but Qt executables do not start (designer.exe, linguist.exe...):

            I might consider the online installer an alternative,

            I can definitely recommend that, when installed with the installer, stuff generally "just works".

            Regarding this:

            if I try to start any of them nothing happens (no missing DLL, error returned is zero in the command line)

            I think on Windows, stderr is automatically redirected to some system logs or something and does not appear in console output. Try to run like this:

            designer.exer 2>&1
            

            Maybe it will print some more information.

            (Z(:^

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #7

              Hi,

              It looks like you forgot to call make install after the build was done.

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

              1 Reply Last reply
              1
              • A ads1234

                @MalitheBIG said in Compilation successful but Qt executables do not start (designer.exe, linguist.exe...):

                Are you using Windows or Linux? Which Windows or Linux, which verison are you using of QT and Windows. Please give us more informations!

                I am using Windows 10, x64. Latest version of Qt available, Qt 5.15.1.

                @Christian-Ehrlicher said in Compilation successful but Qt executables do not start (designer.exe, linguist.exe...):

                Why do you want to compile Qt by your own?

                I get a help window with some options

                How does it look like?

                I am trying to build from source due to the lack of an offline installer, but if it gets too complicated I might consider the online installer an alternative, readme´s made it seem it would be straightforward!

                This is the screen I get:

                6dfb90fb-9593-4a24-a06a-336e6d5f7515-image.png

                I just realized that if I move that window or press the OK button, Qt Designer just crashes or enters into "non responding" mode.

                Thanks for your time/help.

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #8

                @ads1234 Try to set QT_DEBUG_PLUGINS to 1 before starting the app and check the output. Could be that some plug-in can't be loaded.

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • Christian EhrlicherC Christian Ehrlicher

                  And what happens when you don't start with '--help' ?

                  A Offline
                  A Offline
                  ads1234
                  wrote on last edited by
                  #9

                  @Christian-Ehrlicher said in Compilation successful but Qt executables do not start (designer.exe, linguist.exe...):

                  And what happens when you don't start with '--help' ?

                  Nothing, it does look like it starts something (mouse cursor changes to loading icon for a brief moment) but nothing starts or not shows up, and I also found interesting that the last error code is zero, which usually means no error per my understanding.

                  51a6ae5f-194f-414a-9d44-29cda298e00b-image.png

                  Other tools like qml.exe seem to work fine (I don't know if this one has a GUI):

                  bc7ada46-a643-4a66-b492-458063c91943-image.png

                  @sierdzio said in Compilation successful but Qt executables do not start (designer.exe, linguist.exe...):

                  @ads1234 said in Compilation successful but Qt executables do not start (designer.exe, linguist.exe...):

                  I might consider the online installer an alternative,

                  I can definitely recommend that, when installed with the installer, stuff generally "just works".

                  Regarding this:

                  if I try to start any of them nothing happens (no missing DLL, error returned is zero in the command line)

                  I think on Windows, stderr is automatically redirected to some system logs or something and does not appear in console output. Try to run like this:

                  designer.exer 2>&1
                  

                  Maybe it will print some more information.

                  Nothing on stdout or stderr.

                  @SGaist said in Compilation successful but Qt executables do not start (designer.exe, linguist.exe...):

                  Hi,

                  It looks like you forgot to call make install after the build was done.

                  I ran the install after checking that no exe would start in the bin folder and attempting some other things, I might attempt to rebuild later though and do everything in order.

                  @jsulm said in Compilation successful but Qt executables do not start (designer.exe, linguist.exe...):

                  @ads1234 Try to set QT_DEBUG_PLUGINS to 1 before starting the app and check the output. Could be that some plug-in can't be loaded.

                  No luck, same behaviour.

                  1 Reply Last reply
                  0
                  • Christian EhrlicherC Offline
                    Christian EhrlicherC Offline
                    Christian Ehrlicher
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    One more idea - can you start one of the executables in the debugger (MSVC IDE or QtCreator) to see if you get some output?

                    Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                    Visit the Qt Academy at https://academy.qt.io/catalog

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      ads1234
                      wrote on last edited by ads1234
                      #11

                      Good news! I managed to track down the issue to compiling from a terminal without these in the environment PATH variable:

                      "C:\Windows;C:\Windows\System32;"
                      

                      I have it working fine now.

                      My fault, this is not something someone would get into under normal circumstances as those exist in the PATH variable by default, I am using a virtual environment to build that overwrites the environment path variable with a custom one.

                      1 Reply Last reply
                      2
                      • sierdzioS Offline
                        sierdzioS Offline
                        sierdzio
                        Moderators
                        wrote on last edited by
                        #12

                        Thanks for sharing the solution :-)

                        (Z(:^

                        1 Reply Last reply
                        0

                        • Login

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