Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. sqlcipher installation for qt using Ubuntu 14.04
Forum Updated to NodeBB v4.3 + New Features

sqlcipher installation for qt using Ubuntu 14.04

Scheduled Pinned Locked Moved Solved Installation and Deployment
8 Posts 4 Posters 2.6k 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.
  • pramod jadhavP Offline
    pramod jadhavP Offline
    pramod jadhav
    wrote on last edited by
    #1

    I follow the steps to install the sqlcipher for qt on Ubuntu 14.04,

    http://gssivasankari.blogspot.in/2015/11/building-qt-sqlcipher-driver-plugin.html

    but I got error at the time of compilation (Step 6, qmake or make).

    It gives following error when i gives a command $qmake.

    WARNING: /home/pramod/Qt5.5.1/5.5/Src/qtbase/src/plugins/sqldrivers/qsqldriverbase.pri:4: Unable to find file for inclusion qt_plugin
    Project MESSAGE: Warning: unknown QT: core-private
    Project MESSAGE: Warning: unknown QT: sql-private

    & $make

    make: *** No rule to make target smain.moc', needed by smain.o'. Stop.

    Any help will be appreciated.

    Thanks & Regards,
    Pramod Jadhav.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MajidKamali
      wrote on last edited by
      #2

      Custom SQL Driver: The Non-Plugin Way
      qtsimplify.blogspot.com/2013/04/custom-sql-driver-non-plugin-way.html

      It's very simple to use

      1 Reply Last reply
      0
      • pramod jadhavP Offline
        pramod jadhavP Offline
        pramod jadhav
        wrote on last edited by
        #3

        Thanks for giving me reply.

        I am using QT5.5 with Ubuntu 14.04

        I have not a Qt version in "static" mode. Is their another way to run the given program?

        When I follow the given steps to compile the program then it gives me the following error.

        /home/pramod/Qt5.5.1/5.5/gcc_64/include/QtSql/qsqldatabase.h:61: error: undefined reference to `QSQLiteCipherDriver::QSQLiteCipherDriver(QObject*)'

        1 Reply Last reply
        0
        • pramod jadhavP Offline
          pramod jadhavP Offline
          pramod jadhav
          wrote on last edited by
          #4

          Problem is solved

          R 1 Reply Last reply
          0
          • R Offline
            R Offline
            RaguSweety
            wrote on last edited by
            #5

            I follow the steps to install the sqlcipher for qt on Ubuntu 16.04LTS,

            http://gssivasankari.blogspot.in/2015/11/building-qt-sqlcipher-driver-plugin.html

            but I got error at the time of compilation.

            It gives error when i gives a command $qmake.
            Another One Link not working-->
            Custom SQL Driver: The Non-Plugin Way

            qtsimplify.blogspot.com/2013/04/custom-sql-driver-non-plugin-way.html

            Anybody can help me to install sqlcipher in qt ubuntu 16.04LTS.
            Thanking you

            jsulmJ 1 Reply Last reply
            0
            • R RaguSweety

              I follow the steps to install the sqlcipher for qt on Ubuntu 16.04LTS,

              http://gssivasankari.blogspot.in/2015/11/building-qt-sqlcipher-driver-plugin.html

              but I got error at the time of compilation.

              It gives error when i gives a command $qmake.
              Another One Link not working-->
              Custom SQL Driver: The Non-Plugin Way

              qtsimplify.blogspot.com/2013/04/custom-sql-driver-non-plugin-way.html

              Anybody can help me to install sqlcipher in qt ubuntu 16.04LTS.
              Thanking you

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @RaguSweety And what error do you get?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              R 1 Reply Last reply
              0
              • pramod jadhavP pramod jadhav

                Problem is solved

                R Offline
                R Offline
                RaguSweety
                wrote on last edited by
                #7

                @pramod-jadhav

                Hello pramod-jadhav ,

                We follow the steps to install the sqlcipher for qt on Ubuntu 16.04LTS,
                http://gssivasankari.blogspot.in/2015/11/building-qt-sqlcipher-driver-plugin.html.

                -- In this link we don't know where to copy.

                ###################################################
                File 3: sqlcipher.json
                {
                "Keys": [ "QSQLCIPHER" ]
                }


                2. Copy directory

                \Qt5.3.1\5.3\Src\qtbase\src\sql\drivers\sqlite to -----?  (Where to copy)
                
                1. Customize file
                  The content of the file shall be like:
                  ####################################################
                1 Reply Last reply
                0
                • jsulmJ jsulm

                  @RaguSweety And what error do you get?

                  R Offline
                  R Offline
                  RaguSweety
                  wrote on last edited by
                  #8

                  @jsulm
                  Hello jsulm,

                  Hello pramod-jadhav ,

                  We follow the steps to install the sqlcipher for qt on Ubuntu 16.04LTS,
                  http://gssivasankari.blogspot.in/2015/11/building-qt-sqlcipher-driver-plugin.html.

                  -- In this link we don't know where to copy.

                  ###################################################
                  File 3: sqlcipher.json
                  {
                  "Keys": [ "QSQLCIPHER" ]
                  }
                  2. Copy directory

                  \Qt5.3.1\5.3\Src\qtbase\src\sql\drivers\sqlite to -----? (Where to copy)

                  1. Customize file
                    The content of the file shall be like:
                    ####################################################
                  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