Results 1 to 2 of 2

Thread: cannot connect to X server

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: cannot connect to X server

    QApplication is part of QtGui, QCoreApplication is part of QtCore.
    Qt Code:
    1. #include <QCoreApplication>
    2. int main(int argc, char *argv[])
    3. {
    4. QCoreApplication app(argc, argv);
    5. qWarning("hello");
    6. return app.exec();
    7. }
    To copy to clipboard, switch view to plain text mode 
    J-P Nurmi

  2. The following user says thank you to jpn for this useful post:

    jcr (18th April 2007)

Similar Threads

  1. How a server can write "Hello" to a browser ?
    By probine in forum Qt Programming
    Replies: 2
    Last Post: 1st December 2006, 14:43
  2. Replies: 5
    Last Post: 28th August 2006, 14:36
  3. Using QTcpSockt to check an IMAP server
    By guilugi in forum Qt Programming
    Replies: 12
    Last Post: 20th March 2006, 08:51
  4. connect to sql server
    By raphaelf in forum Qt Programming
    Replies: 15
    Last Post: 27th February 2006, 18:06
  5. synching client readings to server output
    By OnionRingOfDoom in forum Qt Programming
    Replies: 14
    Last Post: 28th January 2006, 18:15

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
  •  
Qt is a trademark of The Qt Company.