×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2009
    Posts
    23

    Qt Quick and databases

    Hi all,

    I am developping a linux desktop application for my fraternity's barsales. I would really like to do this using Qt Quick because of the awesome UI possibilities and rapid development. I was wondering if there is an easy way to connect the UI to a (preferably MySQL) database so we can track things like sales etcetera from a backend. Is there any way to do this within Qt Quick? I think SQlite is not really a good option for this job because of security and limitation of options.

    Unfortunately I have no experience with Qt C++. But I think I would be able to create some sort of plugin so I can acces Qt's database features from QML/Javascript, but it'll be to hard for me to do all the hard stuff in standard Qt because of the timeframe within it has to be written. I do have enough experience to create this in Java, but only as a last resort since creating a good interface in Java is impossible with swing.

    Any advice would be greatly appreciated!

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: Qt Quick and databases

    Hello Seikeau

    QML has some thing known as offline storage API which i guess you can use please consider thishttp://doc.qt.nokia.com/4.7/qdeclarativeglobalobject.html to move forward.

    Otherwise if you need something more matured you need to write your own QML Plugin in Qt C++, difficult but better option.

    Regards,

Similar Threads

  1. How to compile QML/QT Quick project in QT Creator?
    By useryy in forum [Archived] Qt SDKs and Tools
    Replies: 2
    Last Post: 2011-03-15, 05:49
  2. Replies: 1
    Last Post: 2011-03-06, 21:28
  3. Creating New Qt Quick Application has some issue on New Qt SDK 1.1 TP
    By chintandave_er in forum [Archived] Qt SDKs and Tools
    Replies: 2
    Last Post: 2011-01-30, 17:14

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×