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. fatal error: QMainWindow: no file or directory
Forum Updated to NodeBB v4.3 + New Features

fatal error: QMainWindow: no file or directory

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 768 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.
  • I Offline
    I Offline
    Ichizaemo
    wrote on last edited by
    #1

    Hi, I can't build my project with the Error ' :
    fatal error: QMainWindow: no file or directory #include <QMainWindow>

    Earlier in the morning I just installed QT 5.9.1 and I am working on Ubuntu 17.04

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Do you include widgets module in your .pro file?

      QT += widgets
      

      (Z(:^

      1 Reply Last reply
      3
      • I Offline
        I Offline
        Ichizaemo
        wrote on last edited by
        #3

        yeah but I had to remove all the library and install a new version

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          So it is working again for you?

          (Z(:^

          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