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. Install debugger engine
Forum Update on Monday, May 27th 2025

Install debugger engine

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
debugger engineinstallationwindows
20 Posts 3 Posters 8.7k 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 SGaist
    13 Jan 2017, 09:15

    And Qt for Android development ?

    P Offline
    P Offline
    PA F
    wrote on 13 Jan 2017, 09:52 last edited by
    #7

    @SGaist I think so ...
    Qt Creator -> Tools -> Options -> Devices -> Android says "Found 10 toolchains for this NDK. " and after "Automatically create kits ..." it says "Warning Qt versions for 5 architectures are missing." I do not succeed to add Qt versions selecting Options -> Build&Run -> Qt versions. Is that a clue? I have C:\Qt\5.8\msvc2015_64\bin\qmake.exe (and corresponding for 5.7 and 5.6) auto-detected there.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 13 Jan 2017, 09:53 last edited by
      #8

      You have installed Qt for Visual Studio 2015.
      You need to install Qt for Android.

      If you used the online installer, just start the maintenance tool and add Qt for Android.

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

      P 1 Reply Last reply 13 Jan 2017, 12:16
      0
      • S SGaist
        13 Jan 2017, 09:53

        You have installed Qt for Visual Studio 2015.
        You need to install Qt for Android.

        If you used the online installer, just start the maintenance tool and add Qt for Android.

        P Offline
        P Offline
        PA F
        wrote on 13 Jan 2017, 12:16 last edited by
        #9

        @SGaist Thank you -- that helped.
        Now the problem is that, when I try to run the untitled project appearing when you create a new project, qglobal.h seems to be missing and I cannot find it anywhere in my installation.
        "
        C:\Qt\5.8\android_x86\include\QtCore\qglobal.h:45: error: type_traits: No such file or directory

        include <type_traits>

        "

        J 1 Reply Last reply 13 Jan 2017, 12:29
        0
        • P PA F
          13 Jan 2017, 12:16

          @SGaist Thank you -- that helped.
          Now the problem is that, when I try to run the untitled project appearing when you create a new project, qglobal.h seems to be missing and I cannot find it anywhere in my installation.
          "
          C:\Qt\5.8\android_x86\include\QtCore\qglobal.h:45: error: type_traits: No such file or directory

          include <type_traits>

          "

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 13 Jan 2017, 12:29 last edited by
          #10

          @PA-F Try to add this line to pro file , run qmake again and rebuild:

          CONFIG += c++11
          

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

          P 2 Replies Last reply 13 Jan 2017, 13:48
          0
          • J jsulm
            13 Jan 2017, 12:29

            @PA-F Try to add this line to pro file , run qmake again and rebuild:

            CONFIG += c++11
            
            P Offline
            P Offline
            PA F
            wrote on 13 Jan 2017, 13:48 last edited by
            #11

            @jsulm CONFIG += c++11 was already there and running qmake again did not help.

            1 Reply Last reply
            0
            • J jsulm
              13 Jan 2017, 12:29

              @PA-F Try to add this line to pro file , run qmake again and rebuild:

              CONFIG += c++11
              
              P Offline
              P Offline
              PA F
              wrote on 13 Jan 2017, 14:40 last edited by
              #12

              @jsulm PS
              I can see now that it is not qglobal.h that is missing, but type_traits, as well as cstddef, algorithm and maybe others.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 13 Jan 2017, 21:02 last edited by
                #13

                Which version of the NDK did you install ?

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

                P 1 Reply Last reply 13 Jan 2017, 22:24
                0
                • S SGaist
                  13 Jan 2017, 21:02

                  Which version of the NDK did you install ?

                  P Offline
                  P Offline
                  PA F
                  wrote on 13 Jan 2017, 22:24 last edited by
                  #14

                  @SGaist android-ndk-r13b-windows-x86_64

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 15 Jan 2017, 21:27 last edited by
                    #15

                    Take a look at the Kit you are using. Check whether there's any warning or error message related to the NDK.

                    They've had some disruptive update recently which might be a possible cause.

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

                    P 1 Reply Last reply 16 Jan 2017, 08:29
                    0
                    • S SGaist
                      15 Jan 2017, 21:27

                      Take a look at the Kit you are using. Check whether there's any warning or error message related to the NDK.

                      They've had some disruptive update recently which might be a possible cause.

                      P Offline
                      P Offline
                      PA F
                      wrote on 16 Jan 2017, 08:29 last edited by
                      #16

                      @SGaist Under Devices -> Android, after Android NDK location I have a warning "Qt versions for 3 architectures are missing". No other warnings.
                      I saw somewhere (can't find it again) about a problem similar to mine, related to NDK version 13, related to the order of includes in GCC. However no solution was presented.
                      Where in my installation are type_traits, cstddef and algorithm supposed to be found? How do I give the appropriate directive in the .pro file (or anywhere)? May type_traits, cstddef and algorithm not be installed (Windows search can't find them)??

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 16 Jan 2017, 08:42 last edited by
                        #17

                        These files should be provided by the Android SDK/NDKs

                        The tool chains missing is a warning that is harmless in the sense that you are not likely going to build your application for these missing architectures. Unless of course the warning concerns the targets you want to build for.

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

                        P 1 Reply Last reply 16 Jan 2017, 08:47
                        0
                        • S SGaist
                          16 Jan 2017, 08:42

                          These files should be provided by the Android SDK/NDKs

                          The tool chains missing is a warning that is harmless in the sense that you are not likely going to build your application for these missing architectures. Unless of course the warning concerns the targets you want to build for.

                          P Offline
                          P Offline
                          PA F
                          wrote on 16 Jan 2017, 08:47 last edited by
                          #18

                          @SGaist Do you have a suggestion for what I should do?

                          P 1 Reply Last reply 16 Jan 2017, 10:57
                          0
                          • P PA F
                            16 Jan 2017, 08:47

                            @SGaist Do you have a suggestion for what I should do?

                            P Offline
                            P Offline
                            PA F
                            wrote on 16 Jan 2017, 10:57 last edited by
                            #19

                            @PA-F Sorry -- I should have given some further information to give you a chance to help.
                            When I try to build untitled.pro I get the messages:
                            In file included from C:\Qt\5.8\android_x86\include/QtGui/qtguiglobal.h:43:0,
                            from C:\Qt\5.8\android_x86\include\QtGui/qguiapplication.h:43,
                            from C:\Qt\5.8\android_x86\include\QtGui/QGuiApplication:1,
                            from ..\untitled\main.cpp:1:
                            type_traits: No such file or directory

                            In qglobal.h there are error marks for

                            include <type_traits>

                            include <cstddef>

                            and
                            #include <algorithm>

                            but not for
                            #include <stddef.h>
                            #include <QtCore/qconfig-bootstrapped.h>
                            #include <QtCore/qconfig.h>
                            #include <QtCore/qtcore-config.h>
                            #include <QtCore/qsystemdetection.h>
                            #include <QtCore/qprocessordetection.h>
                            and
                            #include <QtCore/qcompilerdetection.h>

                            For instance <stddef.h> is found in
                            c:\android\android-ndk-r13b\toolchains\x86-4.9\prebuilt\windows-86_64\lib\gcc\i686-linux-android\4.9.x\include\stddef.h

                            Does this give you any idea?

                            1 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on 16 Jan 2017, 22:59 last edited by
                              #20

                              Following that wiki entry, recent versions of the Android NDK are problematic. It is recommended to use ndk-r10e.

                              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
                              0

                              16/20

                              16 Jan 2017, 08:29

                              • Login

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