Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 11-19-2003, 04:19 AM   #1
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!


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 14 07-21-2021 02:39 AM
Cannot connect to X11 window server using ":).0" as DISPLAY variable cclack Linux - Newbie 4 09-06-2007 10:32 PM
creating a window in linux with a 'window' variable??! (openCV) vmok82 Programming 1 02-28-2005 04:38 PM
bash, how to get variable name from variable Duudson Programming 6 01-06-2005 05:38 PM
calling a variable within a variable sdandeker Programming 9 04-28-2004 04:55 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:38 AM.

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