kcolorbutton -> #include "kcolorbutton.h" <- cannot find this file

Hello Experts!

This is my first attempt to use QT.

I dragged and dropped kcolorbutton component.

Now I cannot compile, compiler cannot find "kcolorbutton.h" file.

What should I do?

Thank you

panJames
panJamesAsked:
Who is Participating?
 
jkrConnect With a Mentor Commented:
All will work - given that you install the necessary KDE libs ;o)

If you are into a platform-independent alternative, take a look at http://wxwidgets.org/
0
 
jkrConnect With a Mentor Commented:
'kcolorbutton.h' is not part of Qt, at least not for the Windows version - it actually belongs to KDE.
0
 
jkrConnect With a Mentor Commented:
Oh, BTW - if you are in fact compiling on Linux, installing the KDE development environment should work (see http://techbase.kde.org/Development or better the Packet Manager of your choice).
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
irfan_omairConnect With a Mentor Commented:
I suggest you download Qt library or QtSdk to get all tools together before start developing. KDE version of things are little different.
0
 
panJamesAuthor Commented:
So if I develop my application using this component and run it on Linux without KDE it will not work?
0
 
irfan_omairConnect With a Mentor Commented:
True if you dont run on KDE, because you need those Library
0
 
irfan_omairConnect With a Mentor Commented:
why dont you download actual Qt library from here:
http://qt-project.org/downloads
0
 
jkrConnect With a Mentor Commented:
No, it wouldn't work without KDE, e.g. Gnome would fail - they're simply not compatible. That's the price you have to pay when being able to choose between different desktop environments.
0
 
panJamesAuthor Commented:
Are there any components (like drop down menus etc) which I may use with QT and would work on any Ubuntu/ Fedora PCs?

Thank you

panJames
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.