Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Can't seem to use qmake, stops at .qmake.stash.
Forum Updated to NodeBB v4.3 + New Features

Can't seem to use qmake, stops at .qmake.stash.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
13 Posts 2 Posters 6.3k Views 2 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.
  • R Offline
    R Offline
    Rad B
    wrote on last edited by Rad B
    #1

    I am trying to get a project over to Visual Studio as this is a Windows 10 UWP app anyhow and I am a master at VS.

    When I run qmake -tp vc it just stops at the .qmake.stash. Say something about a license possibly not sure.
    How can I get this working? Thanks.

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Rad B
      wrote on last edited by Rad B
      #2

      Basically I need to get QT for WINRT and VTK and ITK into visual studio as DLLs. Mainly QT the others I can handle.

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

        Hi,

        You should post the exact error you get otherwise it's going pretty hard help you.

        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
        • R Offline
          R Offline
          Rad B
          wrote on last edited by Rad B
          #4

          Hmmm it doesn't give one.
          Maybe I should ask a different question. How can I get QT, VTK, ITK into a Windows 10 app in visual studio?
          I have a QT project and the proper cmake commands to get it all into a regular Windows Desktop app properly. Is there something I can add to the cmake command line to tell qmake to make a winrt project instead of a desktop app?

          I tried using DCMAKE_SYSTEM_NAME & DCMAKE_SYSTEM_VERSION but they did not work.

          Thanks

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

            Do you have the WinRT Qt package installed ?

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

            R 1 Reply Last reply
            0
            • SGaistS SGaist

              Do you have the WinRT Qt package installed ?

              R Offline
              R Offline
              Rad B
              wrote on last edited by Rad B
              #6

              @SGaist I do using configure and that what was also installed from setup previously. I had downloaded and installed the WINRT qt

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

                Did you also build VTK and ITK with that version of Qt ?

                Are you telling cmake to use that one when configuring your project ?

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

                R 2 Replies Last reply
                0
                • SGaistS SGaist

                  Did you also build VTK and ITK with that version of Qt ?

                  Are you telling cmake to use that one when configuring your project ?

                  R Offline
                  R Offline
                  Rad B
                  wrote on last edited by Rad B
                  #8

                  @SGaist I was actually using cmake on those packages separately and then using VTK_DIR & ITK_DIR in the cmake params for the QT project. Which is how it was setup before I got to it. Gonna get a screenshot of cmake config

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    Rad B
                    wrote on last edited by
                    #9

                    Hmmm no posting of images here

                    1 Reply Last reply
                    0
                    • SGaistS SGaist

                      Did you also build VTK and ITK with that version of Qt ?

                      Are you telling cmake to use that one when configuring your project ?

                      R Offline
                      R Offline
                      Rad B
                      wrote on last edited by Rad B
                      #10

                      @SGaist Basically I need to just turn this desktop QT app into winrt. Not sure if I have to create a new one or just modify the CMakeLists.txt or add/change some params for the cmake of the desktop QT app source to get qmake to use winrt. I have tried many methods.

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

                        AFAIK, pointing cmake to use the WinRT build of Qt should be enough provided that all dependencies using Qt are also built with it.

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

                        R 1 Reply Last reply
                        0
                        • SGaistS SGaist

                          AFAIK, pointing cmake to use the WinRT build of Qt should be enough provided that all dependencies using Qt are also built with it.

                          R Offline
                          R Offline
                          Rad B
                          wrote on last edited by Rad B
                          #12

                          @SGaist So if I cmake VTK & ITK with VS_WINRT_COMPONENT set to true and then cmake my QT project using those & the WINRT version of QT, would it all work together possibly?

                          Thinking I might not need VS_WINRT_COMPONENT unless the final project is a UWP/WINRT Component.

                          Thanks so much ahead of time!!!

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

                            Sounds like a working setup.

                            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