Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Custom SQL Driver manuals, examples with CMake Qt 6. Where?
Qt 6.12 LTS is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved Solved General and Desktop
14 Posts 3 Posters 1.5k 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.
  • 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 Offline
      Christian EhrlicherC Offline
      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 Offline
          Christian EhrlicherC Offline
          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 Offline
              Christian EhrlicherC Offline
              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 Offline
                    Christian EhrlicherC Offline
                    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

                    B 1 Reply Last reply
                    0
                    • Christian EhrlicherC Christian Ehrlicher

                      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

                      B Offline
                      B Offline
                      bogong
                      wrote last edited by bogong
                      #12

                      @Christian-Ehrlicher Finally!!! Almost 3 years of attempts to find the time for it. Now got the time for redeveloping Sql Cipher plugin based on Sqlite3MC within some memory improvements. Got it published

                      1 Reply Last reply
                      0
                      • B bogong has marked this topic as solved
                      • Christian EhrlicherC Offline
                        Christian EhrlicherC Offline
                        Christian Ehrlicher
                        Lifetime Qt Champion
                        wrote last edited by
                        #13

                        The is a sqlite plugin based on sqlcipher already available for over two years https://github.com/chehrlic/qsqlcipher-qt6

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

                        SGaistS 1 Reply Last reply
                        0
                        • Christian EhrlicherC Christian Ehrlicher

                          The is a sqlite plugin based on sqlcipher already available for over two years https://github.com/chehrlic/qsqlcipher-qt6

                          SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote last edited by
                          #14

                          @Christian-Ehrlicher from the looks of it, the one from @bogong uses a different underlying library.

                          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

                          • Login

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