Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - X server configuration?: (7 Items)
   
X server configuration?  
I'm not sure whether I should post this question here, but I at least it's related to Qt..

Recently I'm trying to setup the running and building environment for Qt and qwt in QNX.
And I find X server is required to make this happen.

So I installed some packages from pkgsrc, following are the list:

-----------------------------------------------------------------------------------------
modular-xorg-apps-1.5 Modular Xorg application meta-package
modular-xorg-fonts-1.1 Modular Xorg font meta-package
modular-xorg-libs-1.0nb1 Modular Xorg library meta-package
modular-xorg-server-1.6.5nb9 Modular X11 server from modular X.org

xf86-input-vmmouse-12.6.6nb1 Modular Xorg VMware virtual mouse driver
xf86-input-mouse-1.4.0nb2 Modular Xorg mouse driver
xf86-video-nv-2.1.18 Modular Xorg NVIDIA video driver
xf86-video-vmware-10.16.9nb1 Modular Xorg VMware virtual video driver
------------------------------------------------------------------------------------------

I know it's a silly question but I don't know how to use this X server...
Can any one tell me how to configure this thing?

BTW: My QNX6.5.0 runs in VMWare.

Thanks!

Br
Zhiying
Re: X server configuration?  
Zhiying Xiang wrote:
> I'm not sure whether I should post this question here, but I at least it's related to Qt..
>
> Recently I'm trying to setup the running and building environment for Qt and qwt in QNX.
> And I find X server is required to make this happen.

The X server X XPhoton could be a alternative: 
http://sourceforge.net/projects/openqnx/files/xphoton.4.3/

But are you awarte about this project?    
http://community.qnx.com/sf/projects/qt

Regards

--Armin

http://www.steinhoff-automation.com


>
> So I installed some packages from pkgsrc, following are the list:
>
> -----------------------------------------------------------------------------------------
> modular-xorg-apps-1.5 Modular Xorg application meta-package
> modular-xorg-fonts-1.1 Modular Xorg font meta-package
> modular-xorg-libs-1.0nb1 Modular Xorg library meta-package
> modular-xorg-server-1.6.5nb9 Modular X11 server from modular X.org
>
> xf86-input-vmmouse-12.6.6nb1 Modular Xorg VMware virtual mouse driver
> xf86-input-mouse-1.4.0nb2 Modular Xorg mouse driver
> xf86-video-nv-2.1.18 Modular Xorg NVIDIA video driver
> xf86-video-vmware-10.16.9nb1 Modular Xorg VMware virtual video driver
> ------------------------------------------------------------------------------------------
>
> I know it's a silly question but I don't know how to use this X server...
> Can any one tell me how to configure this thing?
>
> BTW: My QNX6.5.0 runs in VMWare.
>
> Thanks!
>
> Br
> Zhiying
>
>
>
> _______________________________________________
>
> Qt General
> http://community.qnx.com/sf/go/post88566
>
>
Re: X server configuration?  
Hi Armin, thanks for your advice, but even if I can install Xphoton, still I have no idea how to use it, just like X 
server...

Hi Dennis, the examples in qwt-6.0.1 do work without X server!

So maybe it is the version of qwt I used before(qwt-5.2.1 from pkgsrc) that caused the failure to run the examples ?
Re: X server configuration?  
>>> So maybe it is the version of qwt I used before(qwt-5.2.1 from pkgsrc) that caused the failure to run the examples ?


The pkgsrc version of qwt is targeting a desktop - the newer version (6.x) is targeting "Qt embedded" - which matches 
the Qt package associated with this F27 project.
Re: X server configuration?  
Zhiying Xiang wrote:
> Hi Armin, thanks for your advice, but even if I can install Xphoton, still I have no idea how to use it, just like X 
server...

You have to start it in normal X server environment .... no 
configuration needed. qwt works with Xphoton ...

--Armin

>
> Hi Dennis, the examples in qwt-6.0.1 do work without X server!
>
> So maybe it is the version of qwt I used before(qwt-5.2.1 from pkgsrc) that caused the failure to run the examples ?
>
>
>
> _______________________________________________
>
> Qt General
> http://community.qnx.com/sf/go/post88610
>
>
Re: X server configuration?  
Zhiying-

Armin's xphoton sounds like a good suggestion, but I was able to download and run the examples WITHOUT X.  In fact, 
since it is looking for X implies a problem - that means it is NOT looking to use the "Qt Embedded" model!  From the 
INSTALL file... 

-----------------------------------
D) Qt Embedded
--------

I only tested Qwt with Qt Embedded in qvfb (Virtual Framebuffer Devivce)
Emulator on my Linux box. To build Qwt for the emulator was as simple as
for a regular Unix build.
-----------------------------------

This is the model required for QNX.

Here is what I did... ON SELF-HOSTED 6.5 - using a PC - that was already setup to build and run Qt binaries,

1) Downloaded http://surfnet.dl.sourceforge.net/project/qwt/qwt/6.0.1/qwt-6.0.1.zip

2) Unzipped archive to /qwt

3)  From a shell...
# cd /qwt/qwt-6.0.1
# qmake
# make
# install
# cd /qwt/qwt-6.0.1/examples/dials
# qmake
# make

4) To run the example, telnet into the pc, and run
# devi-hid -Pr mouse kbd
# cd /qwt/qwt-6.0.1/examples/dials
# ../.bin/dials -qws &

Thats it!

Dennis
Re: X server configuration?  
Dennis,

just to point out that the embedded version of Qt doesn't support the integration with Photon.

--Armin


> Zhiying-
> 
> Armin's xphoton sounds like a good suggestion, but I was able to download and 
> run the examples WITHOUT X.  In fact, since it is looking for X implies a 
> problem - that means it is NOT looking to use the "Qt Embedded" model!  From 
> the INSTALL file... 
> 
> -----------------------------------
> D) Qt Embedded
> --------
> 
> I only tested Qwt with Qt Embedded in qvfb (Virtual Framebuffer Devivce)
> Emulator on my Linux box. To build Qwt for the emulator was as simple as
> for a regular Unix build.
> -----------------------------------
> 
> This is the model required for QNX.
> 
> Here is what I did... ON SELF-HOSTED 6.5 - using a PC - that was already setup
>  to build and run Qt binaries,
> 
> 1) Downloaded http://surfnet.dl.sourceforge.net/project/qwt/qwt/6.0.1/qwt-6.0.
> 1.zip
> 
> 2) Unzipped archive to /qwt
> 
> 3)  From a shell...
> # cd /qwt/qwt-6.0.1
> # qmake
> # make
> # install
> # cd /qwt/qwt-6.0.1/examples/dials
> # qmake
> # make
> 
> 4) To run the example, telnet into the pc, and run
> # devi-hid -Pr mouse kbd
> # cd /qwt/qwt-6.0.1/examples/dials
> # ../.bin/dials -qws &
> 
> Thats it!
> 
> Dennis