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. Generated ui_mainwindow.h file is generated with errors
Forum Updated to NodeBB v4.3 + New Features

Generated ui_mainwindow.h file is generated with errors

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 306 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.
  • E Offline
    E Offline
    Everdream
    wrote on last edited by
    #1

    Hello everyone,

    It seems after a downgrade of my Qt from 5.12 to 5.9.5.
    I got these kind of errors:331aae33-7ffb-47af-95ba-0b4bb1432ddc-image.png

    I can't update my Qt. Is there anything to correct this bug. Don't wanna delete the lines in cause everytime, I change a thing on the ui.

    Thanks a lot,

    Eve

    jsulmJ 1 Reply Last reply
    0
    • E Everdream

      Hello everyone,

      It seems after a downgrade of my Qt from 5.12 to 5.9.5.
      I got these kind of errors:331aae33-7ffb-47af-95ba-0b4bb1432ddc-image.png

      I can't update my Qt. Is there anything to correct this bug. Don't wanna delete the lines in cause everytime, I change a thing on the ui.

      Thanks a lot,

      Eve

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Everdream Do a complete rebuild: delete build folder, run qmake and build

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      4
      • E Offline
        E Offline
        Everdream
        wrote on last edited by
        #3

        It's effectively worked.

        Thanks!

        jsulmJ 1 Reply Last reply
        0
        • E Everdream

          It's effectively worked.

          Thanks!

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by jsulm
          #4

          @Everdream Just to explain: ui_* files are auto-generated during build. So, if you built with a newer Qt version you already have these ui* files which rely on newer Qt version. If you built again (not a complete rebuild) these ui_* files will not be generated as they are already there (unless you changed something in *.ui files in designer).

          Please mark the topic as solved.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          6

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved