Results 1 to 2 of 2

Thread: Need help with kmessage.h header file

  1. #1
    Join Date
    Nov 2012
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Thumbs up Need help with kmessage.h header file

    Hii there all.

    I am new to QT.

    I am using SUSE 12.2 and QT Creator 2.5.2 based on QT 4.8.

    I am creating a GUI based Ethernet application.

    I want to use <KMessageBox.h> header file but am unable to include it in my programming.

    If I press #include <KMe and press tab key it should show the header file but its not showing and once I include the header file manually it is showing an error " 'KMessageBox.h' has not been declared".

    So please help me in solving this issue of how can I include 'KMessageBox.h' header file into my program.


    Thanks in advance.....

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

    Default Re: Need help with kmessage.h header file

    There is no such header. It is either KMessageBox or kmessagebox.h
    I.e. camel case without .h or all-lower-case with .h

    You will also have to check that your .pro file (if your are using a qmake based project) contains the include path of KDEUI in the INCLUDE_PATH variable.

    Cheers,
    _

Similar Threads

  1. Error in reading wav-file header
    By davidlamhauge in forum Qt Programming
    Replies: 5
    Last Post: 18th November 2012, 14:35
  2. Migrating content from header file to source file
    By ehnuh in forum Qt Programming
    Replies: 2
    Last Post: 3rd October 2012, 17:00
  3. Replies: 4
    Last Post: 14th December 2010, 23:04
  4. unable to include header file
    By sonia in forum Qt Programming
    Replies: 1
    Last Post: 10th July 2007, 08:56
  5. Related to header file
    By merry in forum Qt Programming
    Replies: 2
    Last Post: 10th May 2007, 13:03

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.