Results 1 to 4 of 4

Thread: How to include "wbemidl.h" to execute wmi queries in qt?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2011
    Location
    Coimbatore,TamilNadu,India
    Posts
    382
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    10
    Thanked 13 Times in 12 Posts

    Default How to include "wbemidl.h" to execute wmi queries in qt?

    How to include "wbemidl.h" to execute wmi queries in qt?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: How to include "wbemidl.h" to execute wmi queries in qt?

    Just like any other header. Qt is a C++ library, it doesn't come with its own language or compiler.

    Cheers,
    _

  3. #3
    Join Date
    Mar 2011
    Location
    Coimbatore,TamilNadu,India
    Posts
    382
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    10
    Thanked 13 Times in 12 Posts

    Default Re: How to include "wbemidl.h" to execute wmi queries in qt?

    It needs wbemuuid.lib to be linked. How to link the library to make wbemidl.h work?

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: How to include "wbemidl.h" to execute wmi queries in qt?

    Depends on your build system.

    For qmake like this:
    http://qt-project.org/doc/qt-4.8/qma...ther-libraries

    Cheers,
    _

Similar Threads

  1. Replies: 7
    Last Post: 3rd May 2013, 17:03
  2. Replies: 1
    Last Post: 28th April 2012, 03:53
  3. Replies: 1
    Last Post: 5th February 2011, 21:14
  4. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 19:05
  5. Best way to "include" the images of an application
    By SkripT in forum Qt Programming
    Replies: 4
    Last Post: 18th April 2006, 18:32

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.