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. Custom SQL Driver manuals, examples with CMake Qt 6. Where?
QtWS25 Last Chance

Custom SQL Driver manuals, examples with CMake Qt 6. Where?

Scheduled Pinned Locked Moved Unsolved General and Desktop
11 Posts 3 Posters 455 Views
  • 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    I would take inspiration from one of the Qt plugins directly. You will have there the cmake stuff required.

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    B 1 Reply Last reply
    1
    • SGaistS SGaist

      Hi,

      I would take inspiration from one of the Qt plugins directly. You will have there the cmake stuff required.

      B Offline
      B Offline
      bogong
      wrote on last edited by bogong
      #3

      @SGaist The question was about MANUALS. Not about plugins itself or any kind of inspiration. Have seen sources already. There are HUGE amount of new CMake functions that is not described in any official docs. If you don't know reply on question why writing it???

      Christian EhrlicherC 1 Reply Last reply
      0
      • B bogong

        @SGaist The question was about MANUALS. Not about plugins itself or any kind of inspiration. Have seen sources already. There are HUGE amount of new CMake functions that is not described in any official docs. If you don't know reply on question why writing it???

        Christian EhrlicherC Online
        Christian EhrlicherC Online
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #4

        @bogong I don't know why you don't use a simple add_library()...

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        B 1 Reply Last reply
        0
        • Christian EhrlicherC Christian Ehrlicher

          @bogong I don't know why you don't use a simple add_library()...

          B Offline
          B Offline
          bogong
          wrote on last edited by
          #5

          @Christian-Ehrlicher In which context? add_library to what and what library? My primary goal is adopt this plugin for using it with Qt 6 and CMake and publish it for using by anyone. For now this plugin looking abandoned but super useful, trying to keep it alive. Tried to connect to author of this plugin, haven't got any success in it.

          1 Reply Last reply
          0
          • Christian EhrlicherC Online
            Christian EhrlicherC Online
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on last edited by
            #6

            add_library to what and what library?

            You want to create a library (aka a Qt sql plugin) - or did I misread something?

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            B 1 Reply Last reply
            0
            • Christian EhrlicherC Christian Ehrlicher

              add_library to what and what library?

              You want to create a library (aka a Qt sql plugin) - or did I misread something?

              B Offline
              B Offline
              bogong
              wrote on last edited by
              #7

              @Christian-Ehrlicher Want to create total copy of this plugin, within only one difference - adopt it for Qt 6 and above with CMake. For now it's not working with last versions of Qt 6.

              Christian EhrlicherC 1 Reply Last reply
              0
              • B bogong

                @Christian-Ehrlicher Want to create total copy of this plugin, within only one difference - adopt it for Qt 6 and above with CMake. For now it's not working with last versions of Qt 6.

                Christian EhrlicherC Online
                Christian EhrlicherC Online
                Christian Ehrlicher
                Lifetime Qt Champion
                wrote on last edited by
                #8

                And where is the problem? I already told you more than once that you can create a library with add_library()

                Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                Visit the Qt Academy at https://academy.qt.io/catalog

                B 1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #9

                  While not officially supported for external projects, check the pro to cmake porting guide.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • Christian EhrlicherC Christian Ehrlicher

                    And where is the problem? I already told you more than once that you can create a library with add_library()

                    B Offline
                    B Offline
                    bogong
                    wrote on last edited by bogong
                    #10

                    @Christian-Ehrlicher From my point of view based on official documentation "building library" and "building plugin" two different ways, even code base different. There are even different examples for Qt. What do you mean under the term "library"? And have you any link on manuals on how to build plugins with CMake for Qt 6? And which library need to be added if there need to build it first???

                    1 Reply Last reply
                    0
                    • Christian EhrlicherC Online
                      Christian EhrlicherC Online
                      Christian Ehrlicher
                      Lifetime Qt Champion
                      wrote on last edited by
                      #11

                      Please read the documentation on add_library() - don't know what's the problem. Or use the qt specific way qt_add_plugin() to make sure the json file is properly integrated without manual steps. See also https://doc.qt.io/qt-6/plugins-howto.html

                      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                      Visit the Qt Academy at https://academy.qt.io/catalog

                      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