Results 1 to 5 of 5

Thread: How to install database for my application in client machine?

  1. #1
    Join Date
    Sep 2011
    Location
    Bangalore
    Posts
    254
    Thanks
    92
    Thanked 16 Times in 16 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default How to install database for my application in client machine?

    I'm required to develop a PC application using Qt/C++ for GUI & MySQL as database for my organization. Both the software are used without buying licences. This application will be sold to client and further the client will distribute the same application to other companies for some price. I want my application to be plug & play software, so that there is no hassle for client related to installation of other dependencies. In this case can I bundle MySQL setup file along with my application to create an installer? If not then how do I install MySQL database in client machine without any hiccups. This is the first time I'm developing an application with a database, so the confusion.

    Please help me with this. Thank you.
    Last edited by rawfool; 28th March 2012 at 12:48.

  2. #2
    Join Date
    Sep 2011
    Location
    Manchester
    Posts
    538
    Thanks
    3
    Thanked 106 Times in 103 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to install database for my application in client machine?

    Take a look at NSIS and read license of MySQL you want to ship to see if you're allowed to bundle it with your app.

  3. #3
    Join Date
    Sep 2011
    Location
    Bangalore
    Posts
    254
    Thanks
    92
    Thanked 16 Times in 16 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: How to install database for my application in client machine?

    I know how to bundle the software, but I'm looking for the legalities as I couldn't understand the whole text given in the license agreement. Also I want to know how I would configure the database in the client system after installation? I want it to be just plug & play app. Can you please direct me to a resource where all the activities(A to Z) of database handling & shipping is detailed.
    Thank you.

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to install database for my application in client machine?

    I am not sure why you are asking in a Qt forum about the configuration of a MySQL server and the legalities of bundling MySQL with your application.

    See the MySQL docs on configuration (my.cnf) and creation of databases (SQL/DDL).

    You should understand the GPL Version 2 for distribution of the community edition of MySQL. Given that MySQL is covered by the GPL you will be obliged to provide source code for MySQL if requested, as will your customer to their customer. Further, if you have used the embedded MySQL option your entire application may be exposed to the GPL conditions. This is not legal advice: talk to a legal professional in your part of the world.

  5. #5
    Join Date
    Sep 2011
    Location
    Bangalore
    Posts
    254
    Thanks
    92
    Thanked 16 Times in 16 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: How to install database for my application in client machine?

    Thanks for your reply Chris. I asked here because as there might be a chance where someone in this forum has encountered the same problem. As the Qt/C++ GUI application uses MySQL in my case, I thought I can get some help here.

Similar Threads

  1. Replies: 10
    Last Post: 9th September 2010, 16:43
  2. Replies: 3
    Last Post: 13th December 2008, 10:33
  3. Suggession to install both qt3.3.4 and qt4.2.2 in the same machine
    By joseph in forum Installation and Deployment
    Replies: 1
    Last Post: 20th June 2007, 07:05
  4. Replies: 5
    Last Post: 28th August 2006, 14:36
  5. Fix: QT app won't run under Oracle Standard Client install
    By GreyGeek in forum General Discussion
    Replies: 0
    Last Post: 12th May 2006, 18:20

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.