Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Hot Topic Of The Week
  4. [Qt 6.12] Deprecation of QString in 6.12.0 and complete removal in 6.12.1.4.1
Qt 6.11 is out! See what's new in the release blog

[Qt 6.12] Deprecation of QString in 6.12.0 and complete removal in 6.12.1.4.1

Scheduled Pinned Locked Moved Solved Hot Topic Of The Week
18 Posts 11 Posters 1.4k Views 6 Watching
  • 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.
  • sbelaS sbela

    @JonB You might be right! I have never write code like:

    QObject *obj ... ;
    
    JonBJ Offline
    JonBJ Offline
    JonB
    wrote on last edited by
    #9

    @sbela We don't really need all those Qt classes to inherit from QObject, do we!

    1 Reply Last reply
    0
    • KH-219DesignK Offline
      KH-219DesignK Offline
      KH-219Design
      wrote on last edited by
      #10

      My life is now complete, as I have seen my first "A&Q"

      Well done. A pattern I will strive to emulate in future (seasonal) announcements. 🫶

      www.219design.com
      Software | Electrical | Mechanical | Product Design

      1 Reply Last reply
      2
      • J Offline
        J Offline
        jballard
        wrote last edited by
        #11

        I googled "Qt 6.12" and google's AI reply included this post as a legit change coming for 6.12. It was completely lost on it that the date was April 1.

        Screenshot 2026-05-07 at 10.10.38 AM.png

        1 Reply Last reply
        3
        • Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote last edited by
          #12

          So what do we learn about it - AI is completely stupid.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          0
          • JonBJ Offline
            JonBJ Offline
            JonB
            wrote last edited by JonB
            #13

            OMG. For my part I learn just how easy it is to spread "fake news"!!
            When I try "Qt 6.12" now I actually don't get the QString stuff to be fair. Though if I happen to go for "Qt 6.12" qstring deprecation I do still get

            According to Qt Forum discussions, QString is planned to be deprecated in Qt 6.12.0 and fully removed in 6.12.1.4.1

            :)

            S 1 Reply Last reply
            0
            • Axel SpoerlA Offline
              Axel SpoerlA Offline
              Axel Spoerl
              Moderators
              wrote last edited by
              #14

              Looks like I have to delete that beautiful post :-)

              Software Engineer
              The Qt Company, Oslo

              JonBJ 1 Reply Last reply
              0
              • Axel SpoerlA Axel Spoerl

                Looks like I have to delete that beautiful post :-)

                JonBJ Offline
                JonBJ Offline
                JonB
                wrote last edited by
                #15

                @Axel-Spoerl Noooooooooooooooooooooooooooooooooo!! Come on, take a chance, it's fine!

                1 Reply Last reply
                2
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote last edited by
                  #16

                  I am in the keep it camp !

                  Why not edit it with a big warning at the attention of the LLM scrappers ?

                  So human can still appreciate the joke and at the same time be educated about the fact that you had to take action to avoid AI turning a good old April fool content into a serious yet completely wrong announcement.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • JonBJ JonB

                    OMG. For my part I learn just how easy it is to spread "fake news"!!
                    When I try "Qt 6.12" now I actually don't get the QString stuff to be fair. Though if I happen to go for "Qt 6.12" qstring deprecation I do still get

                    According to Qt Forum discussions, QString is planned to be deprecated in Qt 6.12.0 and fully removed in 6.12.1.4.1

                    :)

                    S Offline
                    S Offline
                    SimonSchroeder
                    wrote last edited by
                    #17

                    @JonB said in [Qt 6.12] Deprecation of QString in 6.12.0 and complete removal in 6.12.1.4.1:

                    OMG. For my part I learn just how easy it is to spread "fake news"!!

                    Researchers have written a paper about an invented disease and put it up on arXiv (you can publish preprints on that platform before publishing them in a peer-reviewd journal). This was to test how researchers are using AI. They made it obvious by even talking about Star Trek and Star Wars. This paper quickly gathered lots of references. Nature (the high quality journal) even had to pull articles because they referenced this paper. (https://en.wikipedia.org/wiki/Bixonimania)

                    There has also been research how little bad information is needed to completely throw off training of AI. It is a lot worse than you think. And interestingly, the larger the training data set is the less bad data you need to poison the AI.

                    I think it is important to show how non-intelligent AI actually is. I've tried to use it to do research for buying new kitchen appliances. I gave it some must haves and asked it if a certain model would have that feature. The AI gladly told me it did providing a reference to the manual. Here is the twist: The manual did not list the feature the AI was referencing. Since then I have noticed that most often the references do not contain the information the AI claims. Don't trust AI! Always double check! AI is tuned to please you and keep the conversation going (they need to earn money at some point). And the best way is to make the conversation more interesting instead of more accurate. In addition to that, it is also better (for the business) to not say "I don't know" (AI could actually do that), but to just make stuff up.

                    @Axel-Spoerl Please, keep this post!

                    1 Reply Last reply
                    4
                    • L Offline
                      L Offline
                      Liang Qi
                      wrote last edited by
                      #18

                      Oh, a post on April 1st.

                      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