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
Object
::disconnect: No such
signal klient
::iconSizeChanged(QSize)Object::disconnect: (sender name: 'klientClass')
Object::disconnect: (receiver name: 'toolBar')
Object::disconnect: No such signal klient::toolButtonStyleChanged(Qt::ToolButtonStyle)
Object::disconnect: (sender name: 'klientClass')
Object::disconnect: (receiver name: 'toolBar')
Object
::connect: No such
signal klient
::iconSizeChanged(QSize)Object::connect: (sender name: 'klientClass')
Object::connect: (receiver name: 'toolBar')
Object::connect: No such signal klient::toolButtonStyleChanged(Qt::ToolButtonStyle)
Object::connect: (sender name: 'klientClass')
Object::connect: (receiver name: 'toolBar')
Object::connect: No such slot klient::Mustawienia()
Object::connect: (receiver name: 'klientClass')
Object::connect: No such slot klient::Mrejestracja()
Object::connect: (receiver name: 'klientClass')
Object::disconnect: No such signal klient::iconSizeChanged(QSize)
Object::disconnect: (sender name: 'klientClass')
Object::disconnect: (receiver name: 'toolBar')
Object::disconnect: No such signal klient::toolButtonStyleChanged(Qt::ToolButtonStyle)
Object::disconnect: (sender name: 'klientClass')
Object::disconnect: (receiver name: 'toolBar')
Object::connect: No such signal klient::iconSizeChanged(QSize)
Object::connect: (sender name: 'klientClass')
Object::connect: (receiver name: 'toolBar')
Object::connect: No such signal klient::toolButtonStyleChanged(Qt::ToolButtonStyle)
Object::connect: (sender name: 'klientClass')
Object::connect: (receiver name: 'toolBar')
Object::connect: No such slot klient::Mustawienia()
Object::connect: (receiver name: 'klientClass')
Object::connect: No such slot klient::Mrejestracja()
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
void klient::ustawakcje()
{
Austawienia
= new QAction(tr
("&Ustawienia"),
this);
Austawienia->setShortcut(tr("Ctrl+S"));
Austawienia->setStatusTip(tr("Comunicator settings"));
connect(Austawienia, SIGNAL(triggered()), this, SLOT(Mustawienia()));
Arejestracja
= new QAction(tr
("&Rejestracja"),
this);
Arejestracja->setShortcut(tr("Ctrl+R"));
Arejestracja->setStatusTip(tr("Register new account"));
connect(Arejestracja, SIGNAL(triggered()), this, SLOT(Mrejestracja()));
menuKomunikator->addAction(Austawienia);
menuKomunikator->addAction(Arejestracja);
}
void klient::ustawakcje()
{
Austawienia = new QAction(tr("&Ustawienia"), this);
Austawienia->setShortcut(tr("Ctrl+S"));
Austawienia->setStatusTip(tr("Comunicator settings"));
connect(Austawienia, SIGNAL(triggered()), this, SLOT(Mustawienia()));
Arejestracja = new QAction(tr("&Rejestracja"),this);
Arejestracja->setShortcut(tr("Ctrl+R"));
Arejestracja->setStatusTip(tr("Register new account"));
connect(Arejestracja, SIGNAL(triggered()), this, SLOT(Mrejestracja()));
menuKomunikator->addAction(Austawienia);
menuKomunikator->addAction(Arejestracja);
}
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
Bookmarks