Results 1 to 6 of 6

Thread: weird error: expected unqualified-id before '...' token

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: weird error: expected unqualified-id before '...' token

    What exactly are you doing with that file? What returns those errors? It seems you are trying to feed a C++ compiler (or preprocessor) with an XML file.

  2. #2
    Join Date
    Feb 2009
    Posts
    23
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: weird error: expected unqualified-id before '...' token

    Quote Originally Posted by wysota View Post
    What exactly are you doing with that file? What returns those errors? It seems you are trying to feed a C++ compiler (or preprocessor) with an XML file.
    It's used to give the user some output that the program gives. Kinda like a logger.

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: weird error: expected unqualified-id before '...' token

    You are including the ui file directly in your cpp program.

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: weird error: expected unqualified-id before '...' token

    How does the .pro file look like? Are you using FORMS variable as suggested in the Qt Designer manual?
    J-P Nurmi

  5. #5
    Join Date
    Feb 2009
    Posts
    23
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: weird error: expected unqualified-id before '...' token

    Quote Originally Posted by wysota View Post
    You are including the ui file directly in your cpp program.
    thanks, I forgot that.
    But it seems I'm not out of the woods yet....
    I'll see if I can fix it first.

Similar Threads

  1. qt 4.2.2 install on aix
    By try to remember in forum Installation and Deployment
    Replies: 2
    Last Post: 28th March 2007, 12:19

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.