Results 1 to 5 of 5

Thread: difference between windows code and linux

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2007
    Posts
    28
    Thanks
    18
    Qt products
    Qt4
    Platforms
    Windows

    Default difference between windows code and linux

    Hi

    i wrote a working program in Windows, few days ago i wanted to compile my program in linux, so i did it... but not everything work properly, toolbar menu dosent work and console showes me error like this
    Qt Code:
    1. Object::disconnect: No such signal klient::iconSizeChanged(QSize)
    2. Object::disconnect: (sender name: 'klientClass')
    3. Object::disconnect: (receiver name: 'toolBar')
    4. Object::disconnect: No such signal klient::toolButtonStyleChanged(Qt::ToolButtonStyle)
    5. Object::disconnect: (sender name: 'klientClass')
    6. Object::disconnect: (receiver name: 'toolBar')
    7. Object::connect: No such signal klient::iconSizeChanged(QSize)
    8. Object::connect: (sender name: 'klientClass')
    9. Object::connect: (receiver name: 'toolBar')
    10. Object::connect: No such signal klient::toolButtonStyleChanged(Qt::ToolButtonStyle)
    11. Object::connect: (sender name: 'klientClass')
    12. Object::connect: (receiver name: 'toolBar')
    13. Object::connect: No such slot klient::Mustawienia()
    14. Object::connect: (receiver name: 'klientClass')
    15. Object::connect: No such slot klient::Mrejestracja()
    16. Object::connect: (receiver name: 'klientClass')
    To copy to clipboard, switch view to plain text mode 


    It is function wich is creating a actions for toolbar menu
    Qt Code:
    1. void klient::ustawakcje()
    2. {
    3.  
    4. Austawienia = new QAction(tr("&Ustawienia"), this);
    5. Austawienia->setShortcut(tr("Ctrl+S"));
    6. Austawienia->setStatusTip(tr("Comunicator settings"));
    7. connect(Austawienia, SIGNAL(triggered()), this, SLOT(Mustawienia()));
    8.  
    9. Arejestracja = new QAction(tr("&Rejestracja"),this);
    10. Arejestracja->setShortcut(tr("Ctrl+R"));
    11. Arejestracja->setStatusTip(tr("Register new account"));
    12. connect(Arejestracja, SIGNAL(triggered()), this, SLOT(Mrejestracja()));
    13.  
    14. menuKomunikator->addAction(Austawienia);
    15. menuKomunikator->addAction(Arejestracja);
    16.  
    17.  
    18.  
    19.  
    20. }
    To copy to clipboard, switch view to plain text mode 



    So i think thath there are diffrence between windows and linux...
    I have question, how can i fix it?
    Best regards
    Last edited by Zergi; 9th January 2008 at 15:06. Reason: updated contents

Similar Threads

  1. C code linux to windows
    By deekayt in forum General Discussion
    Replies: 1
    Last Post: 19th October 2006, 22:17

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.