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. #include "ui_mainwindow.h"
Forum Updated to NodeBB v4.3 + New Features

#include "ui_mainwindow.h"

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 4.4k Views 2 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.
  • LeandroAL Offline
    LeandroAL Offline
    LeandroA
    wrote on last edited by
    #1

    Hi,
    I'm getting familiar with the Qt "hello world".

    I do not understand the line #include "ui_mainwindow.h".
    If the file ui_mainwindow.h does not exist how can it be included?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      That's a generated file which source is the .ui file created for designer.

      More information here

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      4
      • W Offline
        W Offline
        Walux
        wrote on last edited by
        #3

        Please mark the topic as solved if it's the case of course ;)

        Taking things from beginning to end : That's my entertainment !

        1 Reply Last reply
        0
        • LeandroAL Offline
          LeandroAL Offline
          LeandroA
          wrote on last edited by LeandroA
          #4

          Thank you for the explanation!.

          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