Results 1 to 2 of 2

Thread: Qt server-side and database

  1. #1
    Join Date
    Mar 2020
    Posts
    1
    Thanks
    1

    Default Qt server-side and database

    Hello.
    I'm beginning to learn Qt and I want to select a suitable framework for server side and a database management software. I'm so confuse because I'm learning C++ for Qt and I want to use C++ for server-side too, but I can't find any framework and database software with C++ scripting language. I don't want to learn python, Java or Ruby at this time. Becaue I only want to focus on C++ and no other languages. What is your advice for Qt server-side? And which database I can choose for Qt and C++?

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Qt server-side and database

    Most database systems are already built to run as standalone servers - PostgreSQL, MySQL, MariaDB, Oracle, MS SQL Server, etc. - so you don't need to write server-side software. What you usually write is the client-side application, in which you connect to the server and send SQL queries and commands and receive the results to display in your GUI. Your Qt distribution comes with many examples on how to do this.

    SQLite is designed to run as a local database inside of a client application, so there really is no separate "server", but the idea is the same.

    If you want to learn about client-server applications development in general using Qt and C++, there are many examples in the Qt distribution. Start here.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  3. The following user says thank you to d_stranz for this useful post:

    mircha (6th March 2020)

Similar Threads

  1. Replies: 0
    Last Post: 12th June 2014, 12:37
  2. How to disconnenct socket in server side?
    By Ali Reza in forum Newbie
    Replies: 1
    Last Post: 6th June 2012, 10:26
  3. Replies: 2
    Last Post: 13th January 2011, 05:30
  4. Retrieve Host Name at Server Side
    By hkaraoguz84 in forum Qt Programming
    Replies: 0
    Last Post: 24th August 2010, 15:02
  5. server-side app CGI Programming.
    By jcr in forum Newbie
    Replies: 0
    Last Post: 15th January 2009, 10:37

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.