Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. uic not working
Qt 6.11 is out! See what's new in the release blog

uic not working

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 2 Posters 666 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.
  • M Offline
    M Offline
    MASACR
    wrote on last edited by
    #1

    I'm trying to export my project to C++ code using uic command (uic -o file.ui) but it just keeps the cmd open and doesn't do anything even after 30 minutes, what am I doing wrong?

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi, welcome to the forum.

      -o option is for specifying output and you're giving it the input ui file.
      It should be something like uic file.ui -o ui_file.h.

      1 Reply Last reply
      5
      • M Offline
        M Offline
        MASACR
        wrote on last edited by
        #3

        Thanks! I was reading the documentation as uic -o name.ui facepalm

        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