LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-12-2003, 01:33 AM   #1
macro-linux
LQ Newbie
 
Registered: Sep 2003
Posts: 25

Rep: Reputation: 15
where is headfile


there were some headfile
example #include <qslider.h> under the qt application
but I don't know where is the file .h or .cpp include them?
thank you!
 
Old 11-12-2003, 01:51 AM   #2
Quis
Member
 
Registered: May 2001
Location: Germany, Süd-Baden
Distribution: Gentoo
Posts: 139

Rep: Reputation: 15
you must have qt-devel installed.
in my qt-devel rh-rpm is <qslider.h> located in /usr/lib/qt-3.1/include.
if you have qt-devel installed, try: rpm -q --fileprovide qt-devel.[v#] |less to find out the location of your headerfiles
 
Old 11-12-2003, 01:51 AM   #3
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
look in /usr/lib/qt-X.X.X/include where X.X.X is the version of qt you want to use.
 
Old 11-12-2003, 03:56 AM   #4
macro-linux
LQ Newbie
 
Registered: Sep 2003
Posts: 25

Original Poster
Rep: Reputation: 15
no no no!
my means is that I programming the code,where is putin the file
main.cpp or another main.h?
not the systerm include the headfile!
but thank you all the same!
 
Old 11-12-2003, 04:07 AM   #5
Quis
Member
 
Registered: May 2001
Location: Germany, Süd-Baden
Distribution: Gentoo
Posts: 139

Rep: Reputation: 15
include your main.h inc main.cpp and all others on main.h
 
Old 11-12-2003, 04:19 AM   #6
macro-linux
LQ Newbie
 
Registered: Sep 2003
Posts: 25

Original Poster
Rep: Reputation: 15
how to distribute them?
 
Old 11-13-2003, 04:45 AM   #7
macro-linux
LQ Newbie
 
Registered: Sep 2003
Posts: 25

Original Poster
Rep: Reputation: 15
and the kde the headfile is include the /usr/lib?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration