Solved What project to choose
-
I wonder what difference between Qt Widgets Application and Qt Quick Controls Application ?
I need an application with controls like in Visual Studio (Windows Forms App). Which is better? And most important - which will run on Linux after compilation? -
Warning: Controversial opinion ahead
The rule of thumb is: if you are developing a desktop application then use Qt Widgets otherwise use Qt Quick.
They are 2 ways of building the user interface. I feel Qt Quick has a long way to go to become usable in environments where UI can be complex and have many things on the screen but it also implements features that are vital in mobile/embedded space and are not available in Qt Widgets
-
@VRonin I see. Thank you. And for easy porting on Linux machine - Qt Quick is preferable? To be more precise - on RaspberryPi or similar platform.
-
-
@artwaw Even considering porting the app to RaspberryPi or another embedded platform?
-
@jenya7 Qt will use whatever window manager you have and render UI accordingly. That's the whole point of using QtWidgets.
On the opposite side QtQuick will try to render designed UI despite the platform, that can be quite heavy in some configurations.But if you have doubts, make a dummy "Hello World" like boilerplate program yourself, using both options, and see for your self. After all, you know best what you're trying to achieve and how complicated target product will be.
-
Than you.
-
@jenya7 Happy to help. Do ask should you have more doubts or questions, we're here to help.
-
@artwaw One more question. On Windows platform it compiles to *.exe in a debug folder. If I copy-paste the project to Linux - can it compile for the Linux target? May be with some modification in *.pro file ?
-
It will without changes. That's the main feature of Qt: compiling without changes to every platform
-
-
wow, it's awesome! thank you guys! :)