Results 1 to 7 of 7

Thread: New to QT

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    4
    Thanked 140 Times in 132 Posts

    Default Re: New to QT

    Qt Code:
    1. T ok();
    To copy to clipboard, switch view to plain text mode 

    I think this is a declaration of a function named ok and taking no parameters and returning value of type T.

    If you have QWidget not found, check if you are using Qt Gui module. It should be included by default but you may have something like :
    Qt Code:
    1. QT -= gui
    To copy to clipboard, switch view to plain text mode 
    in your .pro file. If there is such line, just remove it and qmake and make again.
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  2. #2
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    1
    Thanked 29 Times in 27 Posts

    Default Re: New to QT

    1. How did you compile this project?
    2. Show us your .pro file.
    I'm a rebel in the S.D.G.

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.