Results 1 to 2 of 2

Thread: Qt simulator for N900

  1. #1
    Join Date
    Dec 2010
    Posts
    71
    Thanks
    26
    Platforms
    Windows

    Default Qt simulator for N900

    Hi,

    I have a App made for windows and I'm trying to make a version for the N900... on my app I use sockets and ISD server. I compiled for Qt Simulator and it stops because it says that ISD service could not start because port 5800 is already in use.. the code is:

    isdServer::isdServer( const quint16 _ivs_port, int _argc, char * * _argv ) :
    QTcpServer(),
    m_readyReadMapper( this ),
    m_ivs( NULL ),
    m_demoClient( NULL ),
    m_lockWidget( NULL )
    {
    if( __isd_server ||
    listen( QHostAddress::Any, __isd_port ) == FALSE )
    {
    // uh oh, already an ISD running or port isn't available...
    qCritical( "isdServer::isdServer(...): "
    "could not start ISD server: %s",
    errorString().toUtf8().constData() );
    QMessageBox::critical(NULL, tr( "Erro no serviço ISD" ),
    tr( "O serviço ISD não pode ser iniciado porque a "
    "porta %1 já se encontra em uso." ).
    arg( QString::number( __isd_port ) ));

    exit(-1);
    }
    I as wondering if Qt simulator is capable of handling this kind of code or if I have to test it on my N900?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt simulator for N900

    The simulator will probably use your desktop's ports so if you have a desktop version of the app running, the port will be in use. I don't really know what "ISD server" is but I don't think that's very relevant here. The Simulator does not provide the N900 environment. It's a shadow of your desktop platform that displays the application in a virtual framebuffer (the themed window you get) and takes input from some artifical data sources (like for the location API).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. The following user says thank you to wysota for this useful post:

    rickrvo (17th January 2011)

Similar Threads

  1. Play a wav file on N900 / Maego
    By Goof in forum Newbie
    Replies: 2
    Last Post: 9th January 2011, 16:35
  2. How to successfully start development for N900
    By kornicameister in forum Newbie
    Replies: 11
    Last Post: 9th January 2011, 15:14
  3. Nokia N900 - Java and stuff
    By been_1990 in forum General Discussion
    Replies: 3
    Last Post: 10th November 2010, 13:29
  4. Qtouchevet and QGesture on N900.
    By acano in forum Qt Programming
    Replies: 0
    Last Post: 4th October 2010, 09:03
  5. Multitouch and N900
    By acano in forum Qt Programming
    Replies: 1
    Last Post: 30th September 2010, 08:04

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.