LinuxQuestions.org
Visit Jeremy's Blog.
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-19-2003, 03:19 AM   #1
bordel
LQ Newbie
 
Registered: Nov 2003
Location: france
Distribution: kde
Posts: 1

Rep: Reputation: 0
Unhappy How to get 'Window' variable from a 'Widget' variable


Hi !
I need experimented people with use of window creations with KDE.
I'm beginning Linux programming with a library (OpenCV) to use my camera which also provides user-interface creation functions.
My problem is : the function to create a window returns a 'Widget' variable type (OpenCV -> highgui -> cvGetWindowHandle() ) and I have to give a 'Window' variable type to the function which displays a picture (OpenCV -> cvcam -> cvcamSetProperty() )..

These types are not recognized by default and I don't know which include files or libraries I should include in the makefile..

I don't know much about the other libraries installed on my computer right now : Qt, Gnome (maybe not correctly installed), KDE API, ..
I saw I can have a QWidget with Qt library but I didn't manage to get a 'Window' variable..

In fact, I would be also very happy if someone tell me how to create a window by myself and get this f*#@?ng 'Window' variable..

Thank you!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. defa0009 Linux - General 13 01-20-2012 02:55 PM
Cannot connect to X11 window server using ":).0" as DISPLAY variable cclack Linux - Newbie 4 09-06-2007 09:32 PM
creating a window in linux with a 'window' variable??! (openCV) vmok82 Programming 1 02-28-2005 03:38 PM
bash, how to get variable name from variable Duudson Programming 6 01-06-2005 04:38 PM
calling a variable within a variable sdandeker Programming 9 04-28-2004 03:55 PM


All times are GMT -5. The time now is 09:44 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration