Results 1 to 8 of 8

Thread: including Qt headers in DLL

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2009
    Posts
    9
    Qt products
    Qt4
    Platforms
    Windows

    Lightbulb including Qt headers in DLL

    hey,

    i have a DLL in wich i would like to take a reference to a QObject and manipulate it, without actually creating an interface. So, i included "Qt/qobect.h" and compiled, but the compiler (Visual Studio 2008 pro) gives me syntax erors. It looks like it doesnt recognize the QThread object. How do i use a QObect in my dll? is this even possible? do i have to start my program from a Qt app? im actually trying to set a system-wide hook and get 3rd application QWidgets to manipulate... Any idea how i can use QObject in my dll?

    Any help would be greatly appreciated,

    Thanks

    Dave
    Last edited by dave_mm0; 15th July 2009 at 20:46.

Similar Threads

  1. spaning the headers in the QTableView
    By ru_core in forum Qt Programming
    Replies: 6
    Last Post: 11th June 2013, 13:17
  2. Installing headers
    By MathStuf in forum Qt Programming
    Replies: 2
    Last Post: 30th June 2008, 11:05
  3. deleting selected headers
    By ru_core in forum Qt Programming
    Replies: 3
    Last Post: 16th April 2008, 07:53
  4. How to make headers fixed sized? (QTableWidget)
    By macias in forum Qt Programming
    Replies: 4
    Last Post: 13th August 2007, 15:57
  5. [custom widget] What about private headers ?
    By lauranger in forum Qt Programming
    Replies: 3
    Last Post: 18th November 2006, 23:14

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.