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. Qt 5.15 for Windows arm64?
QtWS25 Last Chance

Qt 5.15 for Windows arm64?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 2 Posters 994 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.
  • O Offline
    O Offline
    osarguel
    wrote on last edited by
    #1

    Has anyonbe been succesful in using Qt 5.15 on a Windows desktop app for arm64 architecture?

    I was able to build following this patch
    https://gist.github.com/tycho/3ce679850a03a39d8c174ac05af56214#gistcomment-3453299

    but the resulting app was not able to find the resources in the qrc file.

    K 1 Reply Last reply
    0
    • O osarguel

      Has anyonbe been succesful in using Qt 5.15 on a Windows desktop app for arm64 architecture?

      I was able to build following this patch
      https://gist.github.com/tycho/3ce679850a03a39d8c174ac05af56214#gistcomment-3453299

      but the resulting app was not able to find the resources in the qrc file.

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @osarguel

      Hi and welcome to devnet forum

      You need to give more details on error messages and probably about the qrc file and how the file are accessed fromyour application.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • O Offline
        O Offline
        osarguel
        wrote on last edited by
        #3

        Thank you @koahnig !
        Sorry for lack of reply, was trying to figure it out on my own.

        Basically, I have an application that I use for both i386 and amd64 Windows architectures using QT 5.15 successfully.
        I am now trying to compile against arm64, so I built QT 5.15 for arm64 by applying this patch https://gist.github.com/tycho/3ce679850a03a39d8c174ac05af56214#gistcomment-3453299

        QT 5.15 built successfully, then I built our application for arm64 but when trying to show UI I just get a blank page.

        QT is showing the warning (this is just one of the many similar examples for any UI)

        Qt [Warning] (qrc:/MyWindow.qml, $function): qrc:/MyWindow.qml:226:5: MyDialog is not a type
        

        My qrc file looks like

        <RCC>
          <qresource prefix="/">
            <file>MyDialog.qml</file>
            ...
            <file>MyWindow.qml</file>
          </qresource>
        </RCC>
        
        K 1 Reply Last reply
        0
        • O osarguel

          Thank you @koahnig !
          Sorry for lack of reply, was trying to figure it out on my own.

          Basically, I have an application that I use for both i386 and amd64 Windows architectures using QT 5.15 successfully.
          I am now trying to compile against arm64, so I built QT 5.15 for arm64 by applying this patch https://gist.github.com/tycho/3ce679850a03a39d8c174ac05af56214#gistcomment-3453299

          QT 5.15 built successfully, then I built our application for arm64 but when trying to show UI I just get a blank page.

          QT is showing the warning (this is just one of the many similar examples for any UI)

          Qt [Warning] (qrc:/MyWindow.qml, $function): qrc:/MyWindow.qml:226:5: MyDialog is not a type
          

          My qrc file looks like

          <RCC>
            <qresource prefix="/">
              <file>MyDialog.qml</file>
              ...
              <file>MyWindow.qml</file>
            </qresource>
          </RCC>
          
          K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          @osarguel said in Qt 5.15 for Windows arm64?:

          Qt [Warning] (qrc:/MyWindow.qml, $function): qrc:/MyWindow.qml:226:5: MyDialog is not a type
          

          This looks more like the qml file is found and at line 226 you are using MyDialog which is not declared. Is that possible?

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • O Offline
            O Offline
            osarguel
            wrote on last edited by
            #5

            @koahnig
            Thanks,

            MyWindow.qml
            

            is being found, but MyDialog which is another qml defined in the qrc file is the one that is not being found. It is declared on MyDialog.qml

            I tried putting the app to use the qml files directly and it could find them, so the issue seems to be resolving the names

            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