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

From MinGW to MVC

Scheduled Pinned Locked Moved Solved General and Desktop
13 Posts 2 Posters 3.1k 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.
  • mrdebugM Offline
    mrdebugM Offline
    mrdebug
    wrote on last edited by A Former User
    #1

    Hi. This is my first time with Qt and mvc.
    If I run my first qt mvc application out from qtcreator I obtain the error
    "the application can only be done in the context of a container app"
    Can you explain how to resolve?

    Need programmers to hire?
    www.labcsp.com
    www.denisgottardello.it
    GMT+1
    Skype: mrdebug

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

      hi
      what type of app is it ?
      a metro one?
      That error sounds like
      PROJECT > Store > Create App Packages... > And "building a package for the store"
      should be off.

      Just guessing as i never seen it with Qt before.

      1 Reply Last reply
      0
      • mrdebugM Offline
        mrdebugM Offline
        mrdebug
        wrote on last edited by
        #3

        Where I should find this switch? In Visual studio community on qt creator?

        Need programmers to hire?
        www.labcsp.com
        www.denisgottardello.it
        GMT+1
        Skype: mrdebug

        mrjjM 1 Reply Last reply
        0
        • mrdebugM mrdebug

          Where I should find this switch? In Visual studio community on qt creator?

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

          @mrdebug
          that is in VS.
          Not sure its your case but sounds like a modern App ( metro) settings but if that is not
          the case something else is up.

          Does creator run a default Qt Desktop Widget application?

          1 Reply Last reply
          0
          • mrdebugM Offline
            mrdebugM Offline
            mrdebug
            wrote on last edited by
            #5

            Yes. Qtcreator can run the application but I can't run the application outside qtcreator.

            Need programmers to hire?
            www.labcsp.com
            www.denisgottardello.it
            GMT+1
            Skype: mrdebug

            mrjjM 1 Reply Last reply
            0
            • mrdebugM mrdebug

              Yes. Qtcreator can run the application but I can't run the application outside qtcreator.

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

              @mrdebug
              " I can't run the application outside qtcreator."

              You mean using a correct deployment folder
              with the needed dlls and the exe file.

              double clicking the exe dont run it?

              1 Reply Last reply
              0
              • mrdebugM Offline
                mrdebugM Offline
                mrdebug
                wrote on last edited by
                #7

                No. The application folder has got all the dlls and plugins but after double click I obtain " The app can be run only in a app container".

                In kits I have "Qt 5.7.0. for Universal Windows Platform 32/64/arm7" and no other. Is it ok?

                Need programmers to hire?
                www.labcsp.com
                www.denisgottardello.it
                GMT+1
                Skype: mrdebug

                mrjjM 1 Reply Last reply
                0
                • mrdebugM mrdebug

                  No. The application folder has got all the dlls and plugins but after double click I obtain " The app can be run only in a app container".

                  In kits I have "Qt 5.7.0. for Universal Windows Platform 32/64/arm7" and no other. Is it ok?

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

                  @mrdebug
                  hi
                  that kit seems fine.
                  I think all is ok but the modern/uni app needs to be run in special way

                  http://superuser.com/questions/832316/why-does-the-exe-file-of-a-modern-app-fail-to-run-and-produces-an-error-regardi

                  http://recxltd.blogspot.dk/2012/03/windows-8-app-container-security-notes.html

                  sorry I cant provide more direct answer but I only sat next a dude that made a Qt modern app so I have not tried it directly myself :)

                  1 Reply Last reply
                  0
                  • mrdebugM Offline
                    mrdebugM Offline
                    mrdebug
                    wrote on last edited by
                    #9

                    Solved by using msvc2015 package instead of winrt package.

                    Need programmers to hire?
                    www.labcsp.com
                    www.denisgottardello.it
                    GMT+1
                    Skype: mrdebug

                    mrjjM 1 Reply Last reply
                    0
                    • mrdebugM mrdebug

                      Solved by using msvc2015 package instead of winrt package.

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

                      @mrdebug
                      if you do that, the modern app works just like normal Desktop app?
                      oh, you were not trying to make a modern app ?

                      1 Reply Last reply
                      0
                      • mrdebugM Offline
                        mrdebugM Offline
                        mrdebug
                        wrote on last edited by
                        #11

                        I need to run my app from Windows xp to Windows 10 with external dlls. I prefer to use the standard way.

                        Do you know if there is a way to have qt mscv working without Visual Studio? Is there a way to install only the mscv compiler without Visual Sutidio? Visual Studio requires 8gb.

                        Need programmers to hire?
                        www.labcsp.com
                        www.denisgottardello.it
                        GMT+1
                        Skype: mrdebug

                        mrjjM 2 Replies Last reply
                        0
                        • mrdebugM mrdebug

                          I need to run my app from Windows xp to Windows 10 with external dlls. I prefer to use the standard way.

                          Do you know if there is a way to have qt mscv working without Visual Studio? Is there a way to install only the mscv compiler without Visual Sutidio? Visual Studio requires 8gb.

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

                          @mrdebug
                          yes they made a 2015 small version/installer.
                          https://blogs.msdn.microsoft.com/visualstudio/2016/04/01/faster-leaner-visual-studio-installer/
                          and then u just use the compiler and Creator as IDE.

                          1 Reply Last reply
                          0
                          • mrdebugM mrdebug

                            I need to run my app from Windows xp to Windows 10 with external dlls. I prefer to use the standard way.

                            Do you know if there is a way to have qt mscv working without Visual Studio? Is there a way to install only the mscv compiler without Visual Sutidio? Visual Studio requires 8gb.

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

                            @mrdebug

                            btw, VS2015 cant target XP directly.
                            http://stackoverflow.com/questions/35664861/how-to-target-windows-xp-in-microsoft-visual-studio-c

                            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