Re: Q: xwayland overt Qt-compositor?

2012-08-22 Thread jegde jedge
Thanks everybody.
I ran into a few blocks trying to build qtwayland/src/plugins/platform/wayland

I have to keep two separate libxkbcommon's around one for weston and
one for qt5.
weston will not compile against the sha:3fbc277... version qt says they require

I don't know how to make 'qmake' on qtwayland git:

qtwayland in the qt5 alpha tarball fails with:
qwaylandbuffer.h:66: error: ‘wl_buffer_damage’ was not declared in this scope
qwaylandbuffer.h:68: error: ‘wl_buffer_damage’ was not declared in this scope
I cannot find wl_buffer_damage in the wayland source I tried both
master and the qt required sha:c855d6eec...
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Q: xwayland overt Qt-compositor?

2012-08-22 Thread Jørgen Lind
Hi

JørgenOn Wed, Aug 22, 2012 at 07:17:13PM +, ext jegde jedge wrote:
 Thanks everybody.
 I ran into a few blocks trying to build qtwayland/src/plugins/platform/wayland

Thats not good :( 

 I have to keep two separate libxkbcommon's around one for weston and
 one for qt5.
 weston will not compile against the sha:3fbc277... version qt says they 
 require
 
Not anymore. We updated last friday to
c855d6eec4c5e63489da5bc08451a2376e6d2aea

 I don't know how to make 'qmake' on qtwayland git:
 
 qtwayland in the qt5 alpha tarball fails with:
 qwaylandbuffer.h:66: error: ‘wl_buffer_damage’ was not declared in this scope
 qwaylandbuffer.h:68: error: ‘wl_buffer_damage’ was not declared in this scope
 I cannot find wl_buffer_damage in the wayland source I tried both
 master and the qt required sha:c855d6eec...

Please use the sources from gitorious as we'r tracking HEAD as close as
possible git://gitorious.org/qt/qtwayland.git

If you want to send patches, then consider using the gerrit repo:
ssh://codereview.qt-project.org:29418/qt/qtwayland.git 

But that requires that you have sigend up for a gerrit account at
qt-project.org. 

Next time you have build problems, please contact me at the wayland
channel on freenode (jlind)

Jørgen
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Q: xwayland overt Qt-compositor?

2012-08-21 Thread darxus
On 08/21, jegde jedge wrote:
 Please forgive the 'user' post in a devel list.

This post seems entirely appropriate to me.

 I am porting a fundamentally Qt system but still need some X backward
 compatability?

You consider porting to be a user subject?

 I am unclear of the Qt/X/Weston/Wayland interoperability.
 
 Does the weston compositor work with Qt5 apps?
 Can the Qt5-compositor run the Weston apps?

I haven't tested them lately, but I believe the answers should be yes.  

 Will the Qt compositor host the xwayland server?

I haven't heard.  I'm still not entirely sure what the relationship between
xwayland and different compositors is expected to be.

It may be better to ask the Qt folks.  #qt-labs on irc.freenode.net in
particular.  I'm not sure which mailing list is most appropriate.  

 Am I asking the right questions?

They seem appropriate.

 Please help me understand the vision as it relates to future Qt and
 past X both running on Wayland.
 Respectfully

Qt apps don't even know which backend they're using, it's all nice and
magical.  And last time I tested, the Qt5 apps worked with the weston
compositor, but the Qt5 demo wayland compositors crashed, but were expected
to work with wayland apps.  I suspect xwayland stuff hasn't been handled
with the Qt compositors.

There's some info here:  http://wayland.freedesktop.org/qt5.html

The build instructions are old, you'll at least need a couple more modules
to build it.  The porting section may be useful to you.  

If you find better info, please report back.

-- 
I'd rather be happy than right any day.
- Slartiblartfast, The Hitchhiker's Guide to the Galaxy
http://www.ChaosReigns.com
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Q: xwayland overt Qt-compositor?

2012-08-21 Thread jegde jedge
On Tue, Aug 21, 2012 at 9:28 AM, Jørgen Lind jorgen.l...@nokia.com wrote:
 Hi,

 On Tue, Aug 21, 2012 at 09:15:54AM -0400, ext jegde jedge wrote:
 Please forgive the 'user' post in a devel list.


 Does the weston compositor work with Qt5 apps?
 Yes
 Can the Qt5-compositor run the Weston apps?
 Yes
 Am I asking the right questions?
 I don't know, are you getting the answers you want :)

yes :)
Thank you so much.
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Q: xwayland overt Qt-compositor?

2012-08-21 Thread Thiago Macieira
On terça-feira, 21 de agosto de 2012 10.07.57, dar...@chaosreigns.com wrote:
  I am unclear of the Qt/X/Weston/Wayland interoperability.
 
  Does the weston compositor work with Qt5 apps?
  Can the Qt5-compositor run the Weston apps?

 I haven't tested them lately, but I believe the answers should be yes.

If, by Weston apps, you mean Wayland apps, yes. There's nothing special about
them.

  Will the Qt compositor host the xwayland server?

 I haven't heard.  I'm still not entirely sure what the relationship between
 xwayland and different compositors is expected to be.

 It may be better to ask the Qt folks.  #qt-labs on irc.freenode.net in
 particular.  I'm not sure which mailing list is most appropriate.

That would be developm...@qt-project.org, since Wayland support and the
compositors are really in development right now.


 Qt apps don't even know which backend they're using, it's all nice and

Qt apps _can_ know the backend if they really want to.
http://qt-project.org/doc/qt-5.0/qguiapplication.html#platformName-prop

But applications should be written not to depend on the platform.

 magical.  And last time I tested, the Qt5 apps worked with the weston
 compositor, but the Qt5 demo wayland compositors crashed, but were expected
 to work with wayland apps.  I suspect xwayland stuff hasn't been handled
 with the Qt compositors.

The compositors are all experimental and just examples of what can be done.
They are not meant to be used in a production environment.

Running Weston is recommended.

--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
  PGP/GPG: 0x6EF45358; fingerprint:
  E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358


signature.asc
Description: This is a digitally signed message part.
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Q: xwayland overt Qt-compositor?

2012-08-21 Thread Jørgen Lind
Hi,

On Tue, Aug 21, 2012 at 09:15:54AM -0400, ext jegde jedge wrote:
 Please forgive the 'user' post in a devel list.
 
 I am porting a fundamentally Qt system but still need some X backward
 compatability?
 
 I am unclear of the Qt/X/Weston/Wayland interoperability.
 
 Does the weston compositor work with Qt5 apps?
Yes
 Can the Qt5-compositor run the Weston apps?
Yes
 Will the Qt compositor host the xwayland server?
I have to admit that we haven't focused much on this. Technically its
possible, but you have to do some work yourself I suppose. Or you can
wait untill we have done it. 
 
 Am I asking the right questions?
I don't know, are you getting the answers you want :)

 Please help me understand the vision as it relates to future Qt and
 past X both running on Wayland.

QtCompositor is suppose to be an api that enables you to write your own
specialised compositor. It came to be because of the clear synergies
between the platform abstraction which has been developed for the
interfaces you would need when you write a windowing system. 

QtCompositor is essentially about making it easy to write a
Wayland compositor. However, it has advanced features like direct
rendering support, and full touch support. 

Jørgen
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Q: xwayland overt Qt-compositor?

2012-08-21 Thread darxus
On 08/21, Jørgen Lind wrote:
  Will the Qt compositor host the xwayland server?
 I have to admit that we haven't focused much on this. Technically its
 possible, but you have to do some work yourself I suppose. Or you can
 wait untill we have done it. 

How is that likely to end up working?

I'm kind of afraid of effort / code duplication between wayland
compositors.

-- 
You will need: a big heavy rock, something with a bit of a swing to it...
perhaps Mars - How to destroy the Earth
http://www.ChaosReigns.com
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Q: xwayland overt Qt-compositor?

2012-08-21 Thread Scott Moreau
On Tue, Aug 21, 2012 at 10:31 AM, dar...@chaosreigns.com wrote:

 On 08/21, Jørgen Lind wrote:
   Will the Qt compositor host the xwayland server?
  I have to admit that we haven't focused much on this. Technically its
  possible, but you have to do some work yourself I suppose. Or you can
  wait untill we have done it.

 How is that likely to end up working?

 I'm kind of afraid of effort / code duplication between wayland
 compositors.


I doubt the qt devs are working under a rock. xwm might move to
client-space at which point, any wayland compositor that can run weston
clients gets xwayland for free.

Scott
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel