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. ui_*.h files are not generated
Forum Updated to NodeBB v4.3 + New Features

ui_*.h files are not generated

Scheduled Pinned Locked Moved General and Desktop
6 Posts 4 Posters 3.0k Views 1 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.
  • J Offline
    J Offline
    jozef.rusin
    wrote on last edited by
    #1

    Hi everybody,
    I experience strange issue.

    I use qt 5.4.2, vs 2010. QTDir variable and path for Qt5 vs addin is set to correct Qts.

    When I compile project with installed Qt everything is ok but if I build them from source and compile project, ui_*.h files are not generated at all!

    Does anybody know where could be problem?

    thanks Jozef

    R 1 Reply Last reply
    0
    • H Offline
      H Offline
      Huulivoide
      wrote on last edited by
      #2

      Sounds like your .ui files aren't being processed by uic.
      You probably forgot to add them to FORMS in your .pro file,
      providing that you are using qmake that is.

      1 Reply Last reply
      1
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        ui_.h files will created aftrer first build

        • comment lines where use any ui_.h
        • build project
        • uncomment
        • ????
        • profit
        H 1 Reply Last reply
        0
        • ? A Former User

          ui_.h files will created aftrer first build

          • comment lines where use any ui_.h
          • build project
          • uncomment
          • ????
          • profit
          H Offline
          H Offline
          Huulivoide
          wrote on last edited by Huulivoide
          #4

          @MEPTPAH

          There should never be any need to comment out ui_includes.h.
          If the code does not compile whit them enabled, then it means
          that the build system is fucked up and is running uic at the wrong
          time.

          @jozef.rusin
          You didn't forget to run qmake did you?

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jozef.rusin
            wrote on last edited by jozef.rusin
            #5

            Problem was missing unicode libraries while using qt built with -icu support.

            my fault..

            Thanks @Huulivoide for help!

            1 Reply Last reply
            0
            • J jozef.rusin

              Hi everybody,
              I experience strange issue.

              I use qt 5.4.2, vs 2010. QTDir variable and path for Qt5 vs addin is set to correct Qts.

              When I compile project with installed Qt everything is ok but if I build them from source and compile project, ui_*.h files are not generated at all!

              Does anybody know where could be problem?

              thanks Jozef

              R Offline
              R Offline
              Rajeshdaggumati99
              wrote on last edited by
              #6

              @jozef-rusin
              How you resolved this error.
              I am gettting same like
              fatal error C1083: Cannot open include file: 'ui_qrichbutton.h': No such file or directory

              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