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. WinRT App is x64, but x86 is needed
Forum Updated to NodeBB v4.3 + New Features

WinRT App is x64, but x86 is needed

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 2 Posters 1.2k 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.
  • P Offline
    P Offline
    Pixtar
    wrote on last edited by
    #1

    Hi all,

    currently I've a problem to install my WinRT App on my tablet. The tablet itself has a x64 architecture, but there is a x86 WinRT OS installed.

    My app is compiled, linked and finally built without any errors. After packing and signing the package I want to install it on the tablet.

    Power Shell is moaning:
    "The package {5654-44.......} can not be installed, because the package needs an x64 architecture, but the computer has the architecture x86."

    The host machine is a x64 with Win8.1 Pro x64.
    Compiler is Microsoft Visual C++ Compiler 12.0 (x86_amd64).
    vcvarsall was executed with x86_amd64
    Makeappx, MakeCert, Pvk2Pfx and SignTool were all executed from the x86 folders.

    All mocs, objs, temp files and pro.user files were deleted before building the app.

    Where is the problem?

    Kind regards,
    Pixtar

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

      Hi,

      Based on the usual pattern, you have to rebuild Qt for WinRT 32bit before you can build your application for that architecture.

      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

        Hi,

        Based on the usual pattern, you have to rebuild Qt for WinRT 32bit before you can build your application for that architecture.

        P Offline
        P Offline
        Pixtar
        wrote on last edited by
        #3

        @SGaist said:

        Hi,

        Based on the usual pattern, you have to rebuild Qt for WinRT 32bit before you can build your application for that architecture.

        Thanks for your reply - I will mark the thread as solved after I know the reason. ^^

        The reason is that there is no precompiled WinRT 32bit package, only the default WinRT 64bit package, right?

        One last question would be: To run a qt program within the Windows Metro Surface I have no other option than compiling the program with/to/through WinRT independent if it's Win8 or Win10, right?

        Kind regards,
        Pixtar

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

          Right

          Metro is a style guideline but if you are asking about your Windows Surface tablet then if it's running WinRT then you have to build your application for WinRT.

          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
          • P Offline
            P Offline
            Pixtar
            wrote on last edited by
            #5

            The tablet itself has a x64 architecture with a x86 Windows 8.1 Pro running.

            As far as I understand is WinRT responsible for the Metro Style and 'App' handling, but Windows RT is an OS on its own.

            I'm a bit confused now ..
            .. so what is finally the task of the "Qt 5.5.1 for Windows Runtime 64bit"-Kit? Building a program for the OS Windows RT or building a program for Win8/Win10 in relation to WinRT/MetroStyle?

            Kind regards,
            Pixtar

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

              It's to build application for WinRT, you can use the regular packages to build application for Win8/Win10.

              Here You have a blog entry about writing a Metro Styled application with Qt.

              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