PDA

View Full Version : Need help with kmessage.h header file



sudhir.reddy83
25th November 2012, 11:11
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.....

anda_skoa
25th November 2012, 13:00
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,
_