Results 1 to 4 of 4

Thread: Qt modules

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android
    Thanks
    111
    Thanked 4 Times in 4 Posts

    Default Re: Qt modules

    I have another question regarding modules?

    What is the difference between (for instance):

    Qt Code:
    1. #include <QtGui/QAction>
    To copy to clipboard, switch view to plain text mode 

    and

    Qt Code:
    1. #include <QAction>
    To copy to clipboard, switch view to plain text mode 

    Which is right? It seems both includes work fine ...
    Qt 5.3 Opensource & Creator 3.1.2

  2. #2
    Join Date
    Aug 2006
    Posts
    44
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Thanked 7 Times in 7 Posts

    Default Re: Qt modules

    Using
    Qt Code:
    1. #include <QAction>
    To copy to clipboard, switch view to plain text mode 
    assumes your include paths point to the .../include/QtGui/ directory, whereas
    Qt Code:
    1. #include <QtGui/QAction>
    To copy to clipboard, switch view to plain text mode 
    requires only that your include path contain the main Qt .../include/ directory.

Similar Threads

  1. Statically linked QtSql modules
    By runderwo in forum Qt Programming
    Replies: 5
    Last Post: 10th September 2007, 23:43
  2. Resources Modules DLL Window problem
    By RHBaum in forum Qt Programming
    Replies: 3
    Last Post: 16th October 2006, 16:54
  3. Qt and Apache modules
    By Matt Smith in forum Qt Programming
    Replies: 2
    Last Post: 22nd February 2006, 12:56

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.