Linux application best practices. How?
-
wrote on 29 Aug 2023, 11:08 last edited by
Hello all!
Is there any reference of how to develop Linux application in general and with Qt? Especially console server-like applications. Need to refresh my knowledge on this topic. Is there any articles or manuals?
My primary OS - Ubuntu 20.04.
-
Hello all!
Is there any reference of how to develop Linux application in general and with Qt? Especially console server-like applications. Need to refresh my knowledge on this topic. Is there any articles or manuals?
My primary OS - Ubuntu 20.04.
wrote on 29 Aug 2023, 11:31 last edited by Pl45m4Qt is cross-platform, so unless you have some very platform specific or 3rd party stuff, there is no "Linux"- or "Windows"-application, when using Qt.
The use of the Qt modules is 99% the same on all platforms.I would start looking for "server/console applications" (depending on what your really want to do) and what libraries you might need/plan to use.
For the "Qt Networking" module and its classes, as always, check their documentation:
It also includes guides:
-
Qt is cross-platform, so unless you have some very platform specific or 3rd party stuff, there is no "Linux"- or "Windows"-application, when using Qt.
The use of the Qt modules is 99% the same on all platforms.I would start looking for "server/console applications" (depending on what your really want to do) and what libraries you might need/plan to use.
For the "Qt Networking" module and its classes, as always, check their documentation:
It also includes guides:
-
@Pl45m4 Totally senseless reply. In my question mentioned exactly about Linux. Nothing more.
wrote on 29 Aug 2023, 13:06 last edited by@bogong
I am not aware of anything general or special for a "Linux application". A console application is just a console application, so actually nothing to say compared to, say, a UI application. Depends just what you want to do. And what you have in mind by "server-like". -
Hello all!
Is there any reference of how to develop Linux application in general and with Qt? Especially console server-like applications. Need to refresh my knowledge on this topic. Is there any articles or manuals?
My primary OS - Ubuntu 20.04.
-
@bogong Ubuntu 23.04 has come out. I think it is better to upgrade your Ubuntu to 22.04 or up if possible.
-
@JoeCFD OK, but why would that be relevant to a general question about writing some code for Linux?
-
@Pl45m4 Totally senseless reply. In my question mentioned exactly about Linux. Nothing more.
wrote on 29 Aug 2023, 16:56 last edited by@bogong said in Linux application best practices. How?:
Totally senseless reply. In my question mentioned exactly about Linux. Nothing more.
So we should read your thoughts and already know what "Linux-specific" things you want to do and what "server-like" application you are thinking of?!
Asking for a "Linux app" is like "I want to write a program" with no more information, esp. when mentioning Qt, which is mostly cross-platform, so the OS doesn't matter. And when it matters, it's most likely not a Qt-related question, which are also answered here, but the little information you provided, is not much...
So what answers did you expect?!
1/8