Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Improving Skills Qt

Improving Skills Qt

Scheduled Pinned Locked Moved General and Desktop
skillscryptosave
3 Posts 2 Posters 1.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.
  • C Offline
    C Offline
    Corpse0327
    wrote on last edited by
    #1

    Hi

    I am originally a game dev and Qt is the first non-for-game framework i learned. I want to further improve my skills. So i decided to write a program that is totally nonsense and serves no purpose but uses many Qt related features.

    So i have learned many things but have some questions in mind. These are :
    Note: Since this is for learning, do not consider this is hard or whatsoever, just tell me what to learn, do.

    1. Which method to use for storing passwords and such?
    2. Which method to use for encryption?
    3. How to store safely inside an sql file. Sql related and Qt related safety measures?
    4. How to store and load translation related files? Also what method to use in case loading fails?(Hardcoding english translations maybe)
    A 1 Reply Last reply
    0
    • C Corpse0327

      Hi

      I am originally a game dev and Qt is the first non-for-game framework i learned. I want to further improve my skills. So i decided to write a program that is totally nonsense and serves no purpose but uses many Qt related features.

      So i have learned many things but have some questions in mind. These are :
      Note: Since this is for learning, do not consider this is hard or whatsoever, just tell me what to learn, do.

      1. Which method to use for storing passwords and such?
      2. Which method to use for encryption?
      3. How to store safely inside an sql file. Sql related and Qt related safety measures?
      4. How to store and load translation related files? Also what method to use in case loading fails?(Hardcoding english translations maybe)
      A Offline
      A Offline
      alex_malyu
      wrote on last edited by
      #2

      @Corpse0327

      As far as I understand and know in general there is no anything specific for 1-3 in Qt.
      So basically it is the same as with non Qt.

      Specific usage cases may be googled.
      For example:
      http://wiki.qt.io/Simple_encryption_with_SimpleCrypt

      1. is explained well in documentation:
        http://doc.qt.io/qt-5/internationalization.html

      In short if there is no translation, String used in the code will be used.
      You can even provide English translation if you want.

      For example I can write
      QString s = tr("Kitty");
      And provide translation file which would display "Doggy" instead of kitty.

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Corpse0327
        wrote on last edited by
        #3

        Now i got another question. I tried using QNetworkConfigurationManager.

        If connection situation changes program succesfully sends a signal. The signal is onlineStateChanged(bool)

        If i use QNetworkConfigurationManager::isOnline() function inside a constructor. It fails. Maybe a bug?

        Here is my code inside constructor :

        networkConfigurationManager = new QNetworkConfigurationManager(this);
        
        // If there is network connection, close the program
        if(networkConfigurationManager->isOnline() == true)
        {
            this->close();
        }
        
        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