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. After 2 weeks and no changes, it shows 1k problems, which did not exist before
Forum Update on Monday, May 27th 2025

After 2 weeks and no changes, it shows 1k problems, which did not exist before

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 215 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.
  • G Offline
    G Offline
    GosiaG
    wrote on last edited by GosiaG
    #1

    Hi!
    I have this problem, I am creating desktop application using QtCreator C++. My program was running without any problems. Today I wanted to add an extra feature to it and it is impossible to even run the old version because I have more than 1k problems with my code for example:
    variable has incomplete type 'QTextStream'
    candidate function not viable: no known conversion from 'QIODevice::OpenModeFlag' to 'QIODevice::OpenMode' (aka 'QFlagsQIODevice::OpenModeFlag') for 1st argument
    use of undeclared identifier 'endl'
    and much! much more

    I don't understand what happened, because I did not change anything in the code.
    Anyone has any idea?

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Make sure to not mix Qt4 and Qt5 headers.

      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
      1
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi
        Also, check you did not create any cyclic includes adding the new feature.
        That would be like the new .h file includes other .h from the project that also includes the new features .h
        Or similar.

        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