You are not logged in.

#1 2010-02-14 11:54:53

ekrek4
Member
Registered: 2008-08-25
Posts: 24

[SOLVED] Where is qtdemo?

Hi,
I'm wondering, where the hall is 'Qt Examples and Demos' program, launched  usually by qtdemo? Documentation of qt still describe it as qtdemo, but it is not present in my qt package neutral

Last edited by ekrek4 (2010-02-18 01:37:04)

Offline

#2 2010-02-17 06:36:54

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,653

Re: [SOLVED] Where is qtdemo?

sudo pacman -S qt-doc

they will then be in /usr/share/doc/qt


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2010-02-17 09:13:34

ekrek4
Member
Registered: 2008-08-25
Posts: 24

Re: [SOLVED] Where is qtdemo?

Source code is present ther, but I cannot compile it, beceuse of errors ;(

:)[/usr/share/doc/qt/demos/qtdemo]qmake 
:)[/usr/share/doc/qt/demos/qtdemo]make
g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../../qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. -o colors.o colors.cpp
colors.cpp:45:25: error: QGLWidget: No such file or directory
colors.cpp: In static member function 'static void Colors::detectSystemResources()':
colors.cpp:303: error: 'QGLFormat' has not been declared
colors.cpp:303: error: 'QGLFormat' has not been declared
colors.cpp:305: error: 'QGLFormat' has not been declared
colors.cpp:305: error: 'QGLFormat' has not been declared
colors.cpp:307: error: 'QGLFormat' has not been declared
colors.cpp:307: error: 'QGLFormat' has not been declared
colors.cpp:309: error: 'QGLFormat' has not been declared
colors.cpp:309: error: 'QGLFormat' has not been declared
colors.cpp:314: error: 'QGLWidget' was not declared in this scope
colors.cpp:314: error: expected ';' before 'glw'
colors.cpp:315: error: 'QGLFormat' has not been declared
colors.cpp:316: error: 'glw' was not declared in this scope
colors.cpp:317: error: 'QGLFormat' has not been declared
colors.cpp:317: error: 'QGLFormat' has not been declared
make: *** [colors.o] Error 1

Thanks anyway, I should to manage this, problem solved.

Offline

#4 2010-02-17 16:05:03

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: [SOLVED] Where is qtdemo?

if the package exists like it said @ewaller try with it. If more easy to install.

Offline

#5 2010-02-18 00:25:17

ekrek4
Member
Registered: 2008-08-25
Posts: 24

Re: [SOLVED] Where is qtdemo?

I've got qt-doc installed, but there is no qtdemo executable, which simplified using them.

Offline

#6 2010-02-18 00:49:41

n0dix
Member
Registered: 2009-09-22
Posts: 956

Offline

#7 2010-02-18 01:36:21

ekrek4
Member
Registered: 2008-08-25
Posts: 24

Re: [SOLVED] Where is qtdemo?

Thanks man!
Compilation from abs source was successful and my eyes saw qtdemo.

Offline

Board footer

Powered by FluxBB