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. App doesn't build on certain OS
Forum Updated to NodeBB v4.3 + New Features

App doesn't build on certain OS

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 194 Views
  • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hello all, hope everything is well! Just had a quick question. So, I have created an app using Qt Creator that works flawlessly on Windows, Mac, and Linux Mint. However, when I try to run the app on Ubuntu, it will not build. It gives me several errors, the first one being

    expected class name before "{"
    

    in the header file. I am really lost on what to do, as it has no problems running on other operating systems. What could be causing this problem? Is it code-related, or does it have to do with the Qt Creator App I am using? Thank you in advance!

    jsulmJ 1 Reply Last reply
    0
    • ? A Former User

      Hello all, hope everything is well! Just had a quick question. So, I have created an app using Qt Creator that works flawlessly on Windows, Mac, and Linux Mint. However, when I try to run the app on Ubuntu, it will not build. It gives me several errors, the first one being

      expected class name before "{"
      

      in the header file. I am really lost on what to do, as it has no problems running on other operating systems. What could be causing this problem? Is it code-related, or does it have to do with the Qt Creator App I am using? Thank you in advance!

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @WesLow said in App doesn't build on certain OS:

      I am really lost on what to do

      Please post the code causing this error, else only guessing is possible...

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      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