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 Updated to NodeBB v4.3 + New Features

Install debugger engine

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
debugger engineinstallationwindows
20 Posts 3 Posters 9.0k Views 1 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.
  • SGaistS SGaist

    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 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>

    "

    jsulmJ 1 Reply Last reply
    0
    • P PA F

      @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>

      "

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on 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
      0
      • jsulmJ jsulm

        @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 last edited by
        #11

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

        1 Reply Last reply
        0
        • jsulmJ jsulm

          @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 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
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on 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
            0
            • SGaistS SGaist

              Which version of the NDK did you install ?

              P Offline
              P Offline
              PA F
              wrote on last edited by
              #14

              @SGaist android-ndk-r13b-windows-x86_64

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on 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
                0
                • SGaistS SGaist

                  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 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
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 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
                    0
                    • SGaistS SGaist

                      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 last edited by
                      #18

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

                      P 1 Reply Last reply
                      0
                      • P PA F

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

                        P Offline
                        P Offline
                        PA F
                        wrote on 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
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on 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

                          • Login

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