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 run target compiler
QtWS25 Last Chance

Cannot run target compiler

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
10 Posts 3 Posters 3.2k 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.
  • R Offline
    R Offline
    RashTag
    wrote on 18 Jul 2019, 08:59 last edited by RashTag
    #1

    I recently started working on Qt Creator and have installed Qt 5.12.4 and ArcGIS RuntimeSDK 100.5 and when i create new ArcGIS Runtime SDK QML app it shows the following message :

    C and C++ compiler paths differ. C compiler may not work.
    C and C++ compiler paths differ. C compiler may not work.
    Project ERROR: Cannot run target compiler 'C:\Qt\android-ndk-r10e/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++'. Output:

    ===================
    Maybe you forgot to setup the environment?
    Error while parsing file C:\Users\rtagore\ArcGIS\AppStudio\Apps\untitled1\untitled1.pro. Giving up.
    Project MESSAGE: ArcGIS Runtime for Windows (x86_64)
    Project MESSAGE: Version 100.5
    Project MESSAGE: ArcGIS Runtime for Windows (x86_64)
    Project MESSAGE: Version 100.5
    Cannot read C:/Users/rtagore/ArcGIS/AppStudio/Apps/build-untitled2-Desktop_Qt_5_12_4_MinGW_64_bit-Debug/.qmake.cache: No such file or directory

    There is some issue with configuration of kits. Can you please guide me where I am going wrong.

    A 1 Reply Last reply 18 Jul 2019, 09:25
    0
    • R RashTag
      18 Jul 2019, 08:59

      I recently started working on Qt Creator and have installed Qt 5.12.4 and ArcGIS RuntimeSDK 100.5 and when i create new ArcGIS Runtime SDK QML app it shows the following message :

      C and C++ compiler paths differ. C compiler may not work.
      C and C++ compiler paths differ. C compiler may not work.
      Project ERROR: Cannot run target compiler 'C:\Qt\android-ndk-r10e/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++'. Output:

      ===================
      Maybe you forgot to setup the environment?
      Error while parsing file C:\Users\rtagore\ArcGIS\AppStudio\Apps\untitled1\untitled1.pro. Giving up.
      Project MESSAGE: ArcGIS Runtime for Windows (x86_64)
      Project MESSAGE: Version 100.5
      Project MESSAGE: ArcGIS Runtime for Windows (x86_64)
      Project MESSAGE: Version 100.5
      Cannot read C:/Users/rtagore/ArcGIS/AppStudio/Apps/build-untitled2-Desktop_Qt_5_12_4_MinGW_64_bit-Debug/.qmake.cache: No such file or directory

      There is some issue with configuration of kits. Can you please guide me where I am going wrong.

      A Offline
      A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 18 Jul 2019, 09:25 last edited by
      #2

      Hi @RashTag, welcome.

      Which platform are you developing on?
      Which platforms to you target with your programs? Desktop, Mobile, ...?
      Which compiler do you intend to use? MinGW or MSVC?

      Regards

      Qt has to stay free or it will die.

      R 1 Reply Last reply 18 Jul 2019, 09:34
      0
      • A aha_1980
        18 Jul 2019, 09:25

        Hi @RashTag, welcome.

        Which platform are you developing on?
        Which platforms to you target with your programs? Desktop, Mobile, ...?
        Which compiler do you intend to use? MinGW or MSVC?

        Regards

        R Offline
        R Offline
        RashTag
        wrote on 18 Jul 2019, 09:34 last edited by
        #3

        @aha_1980 Hi! I have installed Qt 5.12.4 on Windows 7 Professional. I want to develop and deploy GIS App showing maps and feature layers on android platform.

        A 1 Reply Last reply 18 Jul 2019, 09:39
        0
        • R RashTag
          18 Jul 2019, 09:34

          @aha_1980 Hi! I have installed Qt 5.12.4 on Windows 7 Professional. I want to develop and deploy GIS App showing maps and feature layers on android platform.

          A Offline
          A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on 18 Jul 2019, 09:39 last edited by
          #4

          Hi @RashTag,

          I want to develop and deploy GIS App showing maps and feature layers on android platform

          Ok, so can you please show screenshots of Tools > Options > Kits for Compilers, Qt versions and Kits?

          There must be an Android screen somewhere too, but I'm not sure where that is exactly (never done Android development).

          Qt has to stay free or it will die.

          J R 2 Replies Last reply 18 Jul 2019, 09:42
          1
          • A aha_1980
            18 Jul 2019, 09:39

            Hi @RashTag,

            I want to develop and deploy GIS App showing maps and feature layers on android platform

            Ok, so can you please show screenshots of Tools > Options > Kits for Compilers, Qt versions and Kits?

            There must be an Android screen somewhere too, but I'm not sure where that is exactly (never done Android development).

            J Offline
            J Offline
            J.Hilk
            Moderators
            wrote on 18 Jul 2019, 09:42 last edited by
            #5

            @aha_1980 said in Cannot run target compiler:

            There must be an Android screen somewhere too, but I'm not sure where that is exactly (never done Android development).

            under devices
            0_1563442960877_33eac45f-0da3-4d6b-b51f-b3a0c428b772-image.png


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            1 Reply Last reply
            1
            • A aha_1980
              18 Jul 2019, 09:39

              Hi @RashTag,

              I want to develop and deploy GIS App showing maps and feature layers on android platform

              Ok, so can you please show screenshots of Tools > Options > Kits for Compilers, Qt versions and Kits?

              There must be an Android screen somewhere too, but I'm not sure where that is exactly (never done Android development).

              R Offline
              R Offline
              RashTag
              wrote on 18 Jul 2019, 11:15 last edited by
              #6

              @aha_1980 1_1563448543262_Kits.png 0_1563448543259_Devices.png

              J 1 Reply Last reply 18 Jul 2019, 11:17
              0
              • R RashTag
                18 Jul 2019, 11:15

                @aha_1980 1_1563448543262_Kits.png 0_1563448543259_Devices.png

                J Offline
                J Offline
                J.Hilk
                Moderators
                wrote on 18 Jul 2019, 11:17 last edited by
                #7

                @RashTag
                you're using the wrong ndk for Qt 5.12.4


                Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                Q: What's that?
                A: It's blue light.
                Q: What does it do?
                A: It turns blue.

                R 1 Reply Last reply 18 Jul 2019, 11:29
                0
                • J J.Hilk
                  18 Jul 2019, 11:17

                  @RashTag
                  you're using the wrong ndk for Qt 5.12.4

                  R Offline
                  R Offline
                  RashTag
                  wrote on 18 Jul 2019, 11:29 last edited by
                  #8

                  @J.Hilk Which ndk shall i use with 5.12.4. Thanks.

                  J 1 Reply Last reply 18 Jul 2019, 11:33
                  0
                  • R RashTag
                    18 Jul 2019, 11:29

                    @J.Hilk Which ndk shall i use with 5.12.4. Thanks.

                    J Offline
                    J Offline
                    J.Hilk
                    Moderators
                    wrote on 18 Jul 2019, 11:33 last edited by
                    #9

                    @RashTag 18 or 19, do not use 20, that is currently buggy in combination with Qt


                    Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                    Q: What's that?
                    A: It's blue light.
                    Q: What does it do?
                    A: It turns blue.

                    R 1 Reply Last reply 21 Jul 2019, 05:42
                    3
                    • J J.Hilk
                      18 Jul 2019, 11:33

                      @RashTag 18 or 19, do not use 20, that is currently buggy in combination with Qt

                      R Offline
                      R Offline
                      RashTag
                      wrote on 21 Jul 2019, 05:42 last edited by
                      #10

                      @J.Hilk Thank you. Can you please help me with cmake. How do i set the cmake for desktop (5.12.4 MinGW-64 bit) . Currently when i create the ArcGIS QML app and run through the desktop kit it says "error: FS/No such file or directory".0_1563687767838_qtcreatorerror.png

                      1 Reply Last reply
                      0

                      8/10

                      18 Jul 2019, 11:29

                      • Login

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