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. Linux application best practices. How?
Forum Updated to NodeBB v4.3 + New Features

Linux application best practices. How?

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 4 Posters 526 Views 1 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.
  • B Offline
    B Offline
    bogong
    wrote on last edited by
    #1

    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.

    Pl45m4P JoeCFDJ 2 Replies Last reply
    0
    • B bogong

      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.

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by Pl45m4
      #2

      @bogong

      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:

      • https://doc.qt.io/qt-6/qtnetwork-index.html

      It also includes guides:

      • https://doc.qt.io/qt-6/qtnetwork-index.html#articles-and-guides

      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      B 1 Reply Last reply
      0
      • Pl45m4P Pl45m4

        @bogong

        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:

        • https://doc.qt.io/qt-6/qtnetwork-index.html

        It also includes guides:

        • https://doc.qt.io/qt-6/qtnetwork-index.html#articles-and-guides
        B Offline
        B Offline
        bogong
        wrote on last edited by
        #3

        @Pl45m4 Totally senseless reply. In my question mentioned exactly about Linux. Nothing more.

        JonBJ Pl45m4P 2 Replies Last reply
        0
        • B bogong

          @Pl45m4 Totally senseless reply. In my question mentioned exactly about Linux. Nothing more.

          JonBJ Online
          JonBJ Online
          JonB
          wrote on last edited by
          #4

          @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".

          1 Reply Last reply
          1
          • B bogong

            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.

            JoeCFDJ Offline
            JoeCFDJ Offline
            JoeCFD
            wrote on last edited by JoeCFD
            #5

            @bogong Ubuntu 23.04 has come out. I think it is better to upgrade your Ubuntu to 22.04 or up if possible.

            JonBJ 1 Reply Last reply
            0
            • JoeCFDJ JoeCFD

              @bogong Ubuntu 23.04 has come out. I think it is better to upgrade your Ubuntu to 22.04 or up if possible.

              JonBJ Online
              JonBJ Online
              JonB
              wrote on last edited by
              #6

              @JoeCFD OK, but why would that be relevant to a general question about writing some code for Linux?

              JoeCFDJ 1 Reply Last reply
              0
              • JonBJ JonB

                @JoeCFD OK, but why would that be relevant to a general question about writing some code for Linux?

                JoeCFDJ Offline
                JoeCFDJ Offline
                JoeCFD
                wrote on last edited by JoeCFD
                #7

                @JonB just a remainder. Nothing specific to Qt development. More modern C++ features are added in the newer versions of Ubuntu.

                1 Reply Last reply
                1
                • B bogong

                  @Pl45m4 Totally senseless reply. In my question mentioned exactly about Linux. Nothing more.

                  Pl45m4P Offline
                  Pl45m4P Offline
                  Pl45m4
                  wrote on last edited by
                  #8

                  @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?!


                  If debugging is the process of removing software bugs, then programming must be the process of putting them in.

                  ~E. W. Dijkstra

                  1 Reply Last reply
                  1

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved