Results 1 to 18 of 18

Thread: 'Big' QT Project for school

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2006
    Location
    Minsk, Belarus
    Posts
    33
    Qt products
    Qt4
    Platforms
    MacOS X Windows
    Thanks
    2
    Thanked 6 Times in 3 Posts

    Default Re: 'Big' QT Project for school

    I would advice using SQLite database for these purposes. It is included in Qt package and is very simple for usage.

    All data is stored in one file and no additional installation for this database is required. All that you will need is to load sql driver (it is in Qt package)

    All the info could be found in Qt docs

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    52
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Re: 'Big' QT Project for school

    Quote Originally Posted by Conel View Post
    I would advice using SQLite database for these purposes. It is included in Qt package and is very simple for usage.

    All data is stored in one file and no additional installation for this database is required. All that you will need is to load sql driver (it is in Qt package)

    All the info could be found in Qt docs
    It may be simple. But what about the requirements. I believe the SQLite database is linked to an application. But how would you implement a distributed scenario? From what it sounds like, they have to support multiple instances of the teachers frontend at the same time. Each one looking at the same data. So to me a real client server architecture would be required, if they do not decide to go web based. If they prefer Qt for this, then they would need something like MySQL as was mentioned before, so that they can access the DB over network.

  3. #3
    Join Date
    Oct 2006
    Posts
    42
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    1
    Thanked 8 Times in 8 Posts

    Default Re: 'Big' QT Project for school

    Quote Originally Posted by Mike View Post
    It may be simple. But what about the requirements. I believe the SQLite database is linked to an application. But how would you implement a distributed scenario? From what it sounds like, they have to support multiple instances of the teachers frontend at the same time. Each one looking at the same data. So to me a real client server architecture would be required, if they do not decide to go web based. If they prefer Qt for this, then they would need something like MySQL as was mentioned before, so that they can access the DB over network.
    SQLite is linked to the application, but it could be part of the server app, right?

    So all they would need is the server app (with a SQLite database) and a client app.

  4. #4
    Join Date
    Jan 2006
    Location
    Kerala
    Posts
    371
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    76
    Thanked 37 Times in 32 Posts

    Default Re: 'Big' QT Project for school

    I second Mike, probably you should use MySql, rather that re-inventing the wheel.

    QSqlDatabase + QSocket + QThread is an overkill, remember that this is a School project.
    We can't solve problems by using the same kind of thinking we used when we created them

Similar Threads

  1. making new project qt4
    By !Ci in forum Qt Programming
    Replies: 1
    Last Post: 18th June 2009, 14:32
  2. Replies: 3
    Last Post: 26th July 2006, 14:23
  3. Replies: 2
    Last Post: 11th July 2006, 15:19
  4. Qt project with mingw & Dev-C++ IDE
    By MarkoSan in forum Installation and Deployment
    Replies: 10
    Last Post: 19th April 2006, 13:42
  5. .h file for each form in QT 3.3.5 project??
    By darpan in forum Qt Programming
    Replies: 1
    Last Post: 23rd March 2006, 12:59

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
  •  
Qt is a trademark of The Qt Company.