Results 1 to 4 of 4

Thread: Qt and X11 forwarding issues

  1. #1
    Join Date
    Oct 2011
    Posts
    6
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Qt and X11 forwarding issues

    Hi,

    I'm having problems with forwarding Qt applications (Qt 5.5.1) windows. This was not a problem with Qt 4.8
    After connecting the remote machine (CentOS 6.6) with putty and Xming and testing the the X11 forwarding is working correctly with an openGL application (glxgears for example) I'm tryin gto run my Qt application
    The application is running and I see one black screen with the title set correctly.

    I think this issue appeared in my tests since Qt versions added the platforms (I did not check that too often but now this is something more critical for me). Any idea what is going on or how to solve this?

    Thank you

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt and X11 forwarding issues

    What kind of Qt application?
    One that is using QtWidgets or one that is using QtQuick?

    Cheers,
    _

  3. #3
    Join Date
    Oct 2011
    Posts
    6
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt and X11 forwarding issues

    An application that uses QtWidgets

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt and X11 forwarding issues

    Hmm, strange.
    Widget based applications basically just render into a pixel buffer and display that, no special extensions required.

    Can you try a very trivial application? something like

    Qt Code:
    1. #include <QtWidgets>
    2.  
    3. int main(int argc, char ** argv)
    4. {
    5. QApplication app(argc, argv);
    6. QPushButton button("Click to Quit");
    7. QObject::connect(&button, SIGNAL(clicked()), &app, SLOT(quit()));
    8. button.show();
    9. return app.exec();
    10. }
    To copy to clipboard, switch view to plain text mode 

    Cheers,
    _

Similar Threads

  1. Circular reference ... Unable to write forwarding
    By tonnot in forum General Programming
    Replies: 6
    Last Post: 27th June 2011, 11:26
  2. signal forwarding
    By FelixB in forum Qt Programming
    Replies: 3
    Last Post: 27th January 2011, 08:55
  3. OpenGL shaders and x11 forwarding
    By Wali in forum Qt Programming
    Replies: 0
    Last Post: 2nd November 2010, 21:38
  4. Replies: 6
    Last Post: 9th September 2008, 20:43
  5. Forwarding mouse events to another widget.
    By yogeshm02 in forum Qt Programming
    Replies: 8
    Last Post: 28th February 2006, 13:25

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.