Solved

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

Posted on 2013-01-30
9
423 Views
Last Modified: 2013-02-01
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
0
Comment
Question by:panJames
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
9 Comments
 
LVL 86

Assisted Solution

by:jkr
jkr earned 287 total points
ID: 38835688
'kcolorbutton.h' is not part of Qt, at least not for the Windows version - it actually belongs to KDE.
0
 
LVL 86

Assisted Solution

by:jkr
jkr earned 287 total points
ID: 38835781
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
 
LVL 7

Assisted Solution

by:irfan_omair
irfan_omair earned 213 total points
ID: 38835939
I suggest you download Qt library or QtSdk to get all tools together before start developing. KDE version of things are little different.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:panJames
ID: 38835952
So if I develop my application using this component and run it on Linux without KDE it will not work?
0
 
LVL 7

Assisted Solution

by:irfan_omair
irfan_omair earned 213 total points
ID: 38835960
True if you dont run on KDE, because you need those Library
0
 
LVL 7

Assisted Solution

by:irfan_omair
irfan_omair earned 213 total points
ID: 38835967
why dont you download actual Qt library from here:
http://qt-project.org/downloads
0
 
LVL 86

Assisted Solution

by:jkr
jkr earned 287 total points
ID: 38835974
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
 

Author Comment

by:panJames
ID: 38842886
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
 
LVL 86

Accepted Solution

by:
jkr earned 287 total points
ID: 38844487
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Suggested Courses

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question