Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. qt 5.8 menus example activeqt direct compilation failed

qt 5.8 menus example activeqt direct compilation failed

Scheduled Pinned Locked Moved Unsolved General and Desktop
11 Posts 3 Posters 2.3k 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.
  • TongT Offline
    TongT Offline
    Tong
    wrote on last edited by
    #1
    This post is deleted!
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Where did you install Qt ?

      What version of Windows 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

      1 Reply Last reply
      0
      • TongT Offline
        TongT Offline
        Tong
        wrote on last edited by
        #3

        Win 10 ,Qt Creator 4.2.1 (mingw53_32)

        mrjjM 1 Reply Last reply
        0
        • TongT Tong

          Win 10 ,Qt Creator 4.2.1 (mingw53_32)

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Tong
          Hi Are you trying anything ActiveX on android ?
          http://doc.qt.io/qt-5/activeqt-activeqt-menus-example.html

          Its Windows only.

          TongT 1 Reply Last reply
          0
          • mrjjM mrjj

            @Tong
            Hi Are you trying anything ActiveX on android ?
            http://doc.qt.io/qt-5/activeqt-activeqt-menus-example.html

            Its Windows only.

            TongT Offline
            TongT Offline
            Tong
            wrote on last edited by
            #5

            @mrjj thanks! i know, i using Qt Creator 4.2.1 open the example of 'Menus Example (ActiveQt)', nothing done, direct compilation failed. ( i seleced Build&Run:esktop_Qt_5_8_0_MinGW_32 bit )

            mrjjM 1 Reply Last reply
            0
            • TongT Tong

              @mrjj thanks! i know, i using Qt Creator 4.2.1 open the example of 'Menus Example (ActiveQt)', nothing done, direct compilation failed. ( i seleced Build&Run:esktop_Qt_5_8_0_MinGW_32 bit )

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Tong
              ok
              its just that your first post says
              qt-opensource-windows-x86-android-5.8.0.exe
              which is not for desktop.

              Can you create default GUI project and run it ?
              ( File-> New Project -> Qt -> widgets app)

              Also, did you read the docs for sample. it says :
              "To build the example you must first build the QAxServer library."

              TongT 1 Reply Last reply
              0
              • mrjjM mrjj

                @Tong
                ok
                its just that your first post says
                qt-opensource-windows-x86-android-5.8.0.exe
                which is not for desktop.

                Can you create default GUI project and run it ?
                ( File-> New Project -> Qt -> widgets app)

                Also, did you read the docs for sample. it says :
                "To build the example you must first build the QAxServer library."

                TongT Offline
                TongT Offline
                Tong
                wrote on last edited by
                #7

                @mrjj qt-opensource-windows-x86-android-5.8.0.exe can write two kinds of windows and android app, just windows app is compiled with the MinGW。Can you create default GUI project and run it ?
                ( File-> New Project -> Qt -> widgets app) this is no problem.

                mrjjM 1 Reply Last reply
                0
                • TongT Tong

                  @mrjj qt-opensource-windows-x86-android-5.8.0.exe can write two kinds of windows and android app, just windows app is compiled with the MinGW。Can you create default GUI project and run it ?
                  ( File-> New Project -> Qt -> widgets app) this is no problem.

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by mrjj
                  #8

                  @Tong
                  Ok. super so toolchain works.
                  Ok so its a Metro/modern apps. Not a "real" application for Desktop.
                  Im not sure Metro apps supports COM. Never used any.
                  Do you know for a fact that ActiveX/Com works in Metro/Modern ?

                  Maybe its the
                  "To build the example you must first build the QAxServer library."
                  part you are missing.

                  1 Reply Last reply
                  0
                  • mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    Update:
                    I tried the sample and got same error.
                    so im pretty sure the stuff doc says should be done first is the reason for this error :)

                    TongT 1 Reply Last reply
                    0
                    • mrjjM mrjj

                      Update:
                      I tried the sample and got same error.
                      so im pretty sure the stuff doc says should be done first is the reason for this error :)

                      TongT Offline
                      TongT Offline
                      Tong
                      wrote on last edited by
                      #10

                      @mrjj
                      i using windows 10 . if using Qt visual studio 2015 tool, create "Qt ActiveQT Server"
                      and it's able run it. but Failed to build'Menus Example (ActiveQt)" using Qt Creator 4.2.1

                      mrjjM 1 Reply Last reply
                      0
                      • TongT Tong

                        @mrjj
                        i using windows 10 . if using Qt visual studio 2015 tool, create "Qt ActiveQT Server"
                        and it's able run it. but Failed to build'Menus Example (ActiveQt)" using Qt Creator 4.2.1

                        mrjjM Offline
                        mrjjM Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        @Tong
                        Creator is just an editor. It can use any compiler. mingw/visual studio.
                        Are you using visual studio compiler also with Creator ?

                        If it works with " Qt visual studio 2015 tool" it should work the same in Creator if you use
                        same compiler.

                        1 Reply Last reply
                        1

                        • Login

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