soramimi / qSIP

VoIP/SIP client (softphone)
39 stars 13 forks source link

build error on win10 x64 system #5

Open poweel opened 4 years ago

poweel commented 4 years ago

I got a build error as below, how can I fixed it? SettingAccountForm.obj:-1: error: LNK2019: unresolved external symbol "public: void cdecl MainWindow::reregister(struct ApplicationSettings const &)" (?reregister@MainWindow@@QEAAXAEBUApplicationSettings@@@Z) referenced in function "private: void cdecl SettingAccountForm::on_pushButton_reregister_clicked(void)" (?on_pushButton_reregister_clicked@SettingAccountForm@@AEAAXXZ)

poweel commented 4 years ago

After remove the const in reregister function, it can build succeed, but when run qsip, it can not register to server, I can not capture the register packets in wireshark. vvoid MainWindow::reregister(ApplicationSettings const &a)

poweel commented 4 years ago

I use the Qt 5.12.0 MSVC2017 64bit version