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. Cannot start the project in Qt for Mac OS

Cannot start the project in Qt for Mac OS

Scheduled Pinned Locked Moved Solved Installation and Deployment
30 Posts 3 Posters 5.6k Views 2 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.
  • jsulmJ jsulm

    @loa3 You don't need Java if you target MacOS. For which exact platform do you want to build your app?

    L Offline
    L Offline
    loa3
    wrote on last edited by
    #3

    @jsulm At the moment I study 'pure' C++ for use it for PLCs in future. So I need simple console program which use standard IO functions like cin/cout/file read/write.
    First time I launched projects into Qt without Terminal. But just simple cin does not work there.
    So I set up Launch in termenal checkbox as recommended on some resources. And it does not work.

    jsulmJ 1 Reply Last reply
    0
    • L loa3

      @jsulm At the moment I study 'pure' C++ for use it for PLCs in future. So I need simple console program which use standard IO functions like cin/cout/file read/write.
      First time I launched projects into Qt without Terminal. But just simple cin does not work there.
      So I set up Launch in termenal checkbox as recommended on some resources. And it does not work.

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

      @loa3 What exact Qt version did you install? Is it possible that you installed Qt for Android (which requires Java)?
      Do you start your app from QtCreator?

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

      L 1 Reply Last reply
      0
      • jsulmJ jsulm

        @loa3 What exact Qt version did you install? Is it possible that you installed Qt for Android (which requires Java)?
        Do you start your app from QtCreator?

        L Offline
        L Offline
        loa3
        wrote on last edited by
        #5

        @jsulm
        Qt Creator 4.14.0
        Qt 5.15.2 (Clang 11.0 (Apple), 64 бита)
        Dec 17 2020 в 07:57:30
        909f74dc56

        I've installed libraries for Mac OS (standard installer from Qt.io --> open source version
        Yes, I launch apps from QtCreator

        jsulmJ 1 Reply Last reply
        0
        • L loa3

          @jsulm
          Qt Creator 4.14.0
          Qt 5.15.2 (Clang 11.0 (Apple), 64 бита)
          Dec 17 2020 в 07:57:30
          909f74dc56

          I've installed libraries for Mac OS (standard installer from Qt.io --> open source version
          Yes, I launch apps from QtCreator

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

          @loa3 said in Cannot start the project in Qt for Mac OS:

          Qt Creator 4.14.0
          Qt 5.15.2 (Clang 11.0 (Apple), 64 бита)

          This only says what Qt version was used to build QtCreator, not which Qt version you are using for your project.

          What kind of project did you create?

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

          L 1 Reply Last reply
          0
          • jsulmJ jsulm

            @loa3 said in Cannot start the project in Qt for Mac OS:

            Qt Creator 4.14.0
            Qt 5.15.2 (Clang 11.0 (Apple), 64 бита)

            This only says what Qt version was used to build QtCreator, not which Qt version you are using for your project.

            What kind of project did you create?

            L Offline
            L Offline
            loa3
            wrote on last edited by
            #7

            @jsulm where can I check Qt version? It was info from About which I've sent earlier.

            jsulmJ 1 Reply Last reply
            0
            • L loa3

              @jsulm where can I check Qt version? It was info from About which I've sent earlier.

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

              @loa3 said in Cannot start the project in Qt for Mac OS:

              where can I check Qt version?

              In your Kit configuration (in QtCreator)

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

              L 1 Reply Last reply
              0
              • jsulmJ jsulm

                @loa3 said in Cannot start the project in Qt for Mac OS:

                where can I check Qt version?

                In your Kit configuration (in QtCreator)

                L Offline
                L Offline
                loa3
                wrote on last edited by
                #9

                @jsulm I can not find any more except
                Qt Creator 4.14.0
                Qt 5.15.2 mentioned above

                jsulmJ 1 Reply Last reply
                0
                • L loa3

                  @jsulm I can not find any more except
                  Qt Creator 4.14.0
                  Qt 5.15.2 mentioned above

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

                  @loa3 As I said: you need to check your Kit. In QtCreator go to "Tools/Options/Kits".

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

                  L 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @loa3 As I said: you need to check your Kit. In QtCreator go to "Tools/Options/Kits".

                    L Offline
                    L Offline
                    loa3
                    wrote on last edited by
                    #11

                    @jsulm screen 2021-04-14 в 10.33.25.png

                    Tools seems to be menu item selected. But if yes I can not find something that means 'options'. there...

                    jsulmJ 1 Reply Last reply
                    0
                    • L loa3

                      @jsulm screen 2021-04-14 в 10.33.25.png

                      Tools seems to be menu item selected. But if yes I can not find something that means 'options'. there...

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

                      @loa3 Please search for Kit configuration in QtCreator settings (I don't have QtCreator with Russian menues). As far as I know on MacOS application settings are in the left menu entry ("Qt Creator" in this case)...

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

                      L 1 Reply Last reply
                      0
                      • jsulmJ jsulm

                        @loa3 Please search for Kit configuration in QtCreator settings (I don't have QtCreator with Russian menues). As far as I know on MacOS application settings are in the left menu entry ("Qt Creator" in this case)...

                        L Offline
                        L Offline
                        loa3
                        wrote on last edited by
                        #13

                        @jsulm screen 2021-04-14 в 13.01.09.png

                        It looks like 5.15.2

                        jsulmJ 1 Reply Last reply
                        1
                        • L loa3

                          @jsulm screen 2021-04-14 в 13.01.09.png

                          It looks like 5.15.2

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

                          @loa3 Looks like desktop version. Then I don't know why you have this Java issue, I'm not Mac expert.

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

                          L 2 Replies Last reply
                          0
                          • jsulmJ jsulm

                            @loa3 Looks like desktop version. Then I don't know why you have this Java issue, I'm not Mac expert.

                            L Offline
                            L Offline
                            loa3
                            wrote on last edited by
                            #15

                            @jsulm said in Cannot start the project in Qt for Mac OS:

                            @loa3 Looks like desktop version. Then I don't know why you have this Java issue, I'm not Mac expert.

                            Yes I think it is not Qt issue but something wrong 'around' it...

                            1 Reply Last reply
                            0
                            • jsulmJ jsulm

                              @loa3 Looks like desktop version. Then I don't know why you have this Java issue, I'm not Mac expert.

                              L Offline
                              L Offline
                              loa3
                              wrote on last edited by
                              #16

                              @jsulm said in Cannot start the project in Qt for Mac OS:

                              @loa3 Looks like desktop version. Then I don't know why you have this Java issue, I'm not Mac expert.

                              Do you have any idea where can I find Mac/Qt experts, please?

                              jsulmJ 1 Reply Last reply
                              0
                              • L loa3

                                @jsulm said in Cannot start the project in Qt for Mac OS:

                                @loa3 Looks like desktop version. Then I don't know why you have this Java issue, I'm not Mac expert.

                                Do you have any idea where can I find Mac/Qt experts, please?

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

                                @loa3 @SGaist

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

                                L 1 Reply Last reply
                                0
                                • jsulmJ jsulm

                                  @loa3 @SGaist

                                  L Offline
                                  L Offline
                                  loa3
                                  wrote on last edited by
                                  #18

                                  @jsulm Many thanks!

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

                                    Hi,

                                    Can you show your environment variables in the console ?
                                    What version of macOS are you running ?

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

                                    L 1 Reply Last reply
                                    0
                                    • SGaistS SGaist

                                      Hi,

                                      Can you show your environment variables in the console ?
                                      What version of macOS are you running ?

                                      L Offline
                                      L Offline
                                      loa3
                                      wrote on last edited by
                                      #20

                                      @SGaist said in Cannot start the project in Qt for Mac OS:

                                      Can you show your environment variables in the console ?

                                      Yes, please:

                                      Macintosh:~ apple$ printenv
                                      TERM_PROGRAM=Apple_Terminal
                                      SHELL=/bin/bash
                                      TERM=xterm-256color
                                      TMPDIR=/var/folders/yh/5cyx35gd07x734h568l3p_p00000gp/T/
                                      Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.cV6k4mxtJJ/Render
                                      TERM_PROGRAM_VERSION=421.2
                                      TERM_SESSION_ID=C9973591-7071-476A-AF24-C559E765CCB1
                                      USER=apple
                                      SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.J0oZF6hFtw/Listeners
                                      PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Frameworks/Mono.framework/Versions/Current/Commands
                                      PWD=/Users/apple
                                      JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_281.jdk/Contents/Home
                                      LANG=ru_RU.UTF-8
                                      XPC_FLAGS=0x0
                                      XPC_SERVICE_NAME=0
                                      SHLVL=1
                                      HOME=/Users/apple
                                      LOGNAME=apple
                                      _=/usr/bin/printenv

                                      (I'm not sure that this is what you mean, sorry)

                                      What version of macOS are you running ?
                                      macOS 10.14.6

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

                                        I do not see anything overly suspicious there.

                                        How are you trying to create your project on the command line ?

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

                                        L 1 Reply Last reply
                                        0
                                        • SGaistS SGaist

                                          I do not see anything overly suspicious there.

                                          How are you trying to create your project on the command line ?

                                          L Offline
                                          L Offline
                                          loa3
                                          wrote on last edited by
                                          #22

                                          @SGaist said in Cannot start the project in Qt for Mac OS:

                                          How are you trying to create your project on the command line ?

                                          I designed some projects in QtCreator and launched them from there with checkbox 'Run in terminal'.
                                          It was very simple console programs that just use basic I/O commands like cin/cout as well as file operations.

                                          First of all the system told that there is no JVM.
                                          When I installed it error has changed to that one which is above.
                                          And I have to use Qt for Windows (no pleasure... ) ).

                                          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