Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
From MinGW to MVC
mrdebug last edited by A Former User
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?
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.
Where I should find this switch? In Visual studio community on qt creator?
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?
Yes. Qtcreator can run the application but I can't run the application outside qtcreator.
" 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?
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?
that kit seems fine.
I think all is ok but the modern/uni app needs to be run in special way
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 :)
Solved by using msvc2015 package instead of winrt package.
if you do that, the modern app works just like normal Desktop app?
oh, you were not trying to make a modern app ?
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.
yes they made a 2015 small version/installer.
and then u just use the compiler and Creator as IDE.
btw, VS2015 cant target XP directly.