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. Trying to compile my first Ui [solved]
Forum Updated to NodeBB v4.3 + New Features

Trying to compile my first Ui [solved]

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 4 Posters 1.4k 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.
  • G Offline
    G Offline
    gabriel_h
    wrote on last edited by
    #1

    Hello all,

    I'm continuing the book "C++ GUI applications with Qt4" and am arriving at a new problem. When I try to compile the code of page 26—the Go to Cell Location example, I get the error

    "variable has incomplete type Ui::gotocelldialog"

    I thus see that the uic tool doesn't convert the gotocelldialog.ui file into the C++ file ui_gotocelldialog.h. What am I doing wrong? Is there any big difference between Qt4 and Qt5?

    Thank you all for your help!
    Gabriel

    1 Reply Last reply
    0
    • mranger90M Offline
      mranger90M Offline
      mranger90
      wrote on last edited by
      #2

      Hello,
      I was able to get these to build and run with the usual minor changes.
      I suggest you look at:

      http://qt-project.org/wiki/Transition_from_Qt_4.x_to_Qt5

      1 Reply Last reply
      0
      • O Offline
        O Offline
        overtime
        wrote on last edited by
        #3

        Does anyone know why can't I Docmark that page?

        1 Reply Last reply
        0
        • EddyE Offline
          EddyE Offline
          Eddy
          wrote on last edited by
          #4

          Only official doc pages can be docmarked.

          That is a wiki page, and unfortunately has no docmark link.

          You could set that page as a favorite in your browser.

          Qt Certified Specialist
          www.edalsolutions.be

          1 Reply Last reply
          0
          • O Offline
            O Offline
            overtime
            wrote on last edited by
            #5

            oh, that makes sense. Thanks :)

            1 Reply Last reply
            0
            • G Offline
              G Offline
              gabriel_h
              wrote on last edited by
              #6

              Thanks guys for this link!

              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