Opened 3 years ago

Closed 3 years ago

#258 closed defect (fixed)

QuteCom fails to compile with FACEBOOK, MYSPACE etc. enabled.

Reported by: chris-mac Owned by: vadim
Priority: major Milestone: QuteCom 2.2-RC4
Component: 3rd party libs Version: 2.2
Keywords: Cc:

Description (last modified by chris-mac)

QuteCom will throw an error as below, when ENABLE_FACEBOOK, ENABLE_MYSPACE, ENABLE_SKYPE, ENABLE_TWITTER is set to ON.

[ 93%] Building CXX object qutecom/src/presentation/qt/CMakeFiles/qutecom.dir/imcontact/QtAddIMContact.o
qutecom/src/presentation/qt/imcontact/QtAddIMContact.cpp: In constructor ‘QtAddIMContact::QtAddIMContact(ContactProfile&, CUserProfile&, QWidget*)’:
qutecom/src/presentation/qt/imcontact/QtAddIMContact.cpp:74: error: no matching function for call to ‘QString::fromUtf8(std::string)’
/usr/include/qt4/QtCore/qstring.h:325: note: candidates are: static QString QString::fromUtf8(const char*, int)
qutecom/src/presentation/qt/imcontact/QtAddIMContact.cpp:78: error: no matching function for call to ‘QString::fromUtf8(std::string)’
/usr/include/qt4/QtCore/qstring.h:325: note: candidates are: static QString QString::fromUtf8(const char*, int)
qutecom/src/presentation/qt/imcontact/QtAddIMContact.cpp:82: error: no matching function for call to ‘QString::fromUtf8(std::string)’
/usr/include/qt4/QtCore/qstring.h:325: note: candidates are: static QString QString::fromUtf8(const char*, int)
qutecom/src/presentation/qt/imcontact/QtAddIMContact.cpp:86: error: no matching function for call to ‘QString::fromUtf8(std::string)’
/usr/include/qt4/QtCore/qstring.h:325: note: candidates are: static QString QString::fromUtf8(const char*, int)
make[2]: *** [qutecom/src/presentation/qt/CMakeFiles/qutecom.dir/imcontact/QtAddIMContact.o] Error 1
make[1]: *** [qutecom/src/presentation/qt/CMakeFiles/qutecom.dir/all] Error 2
make: *** [all] Error 2

I guess this might be related to r666

Change History (4)

comment:1 Changed 3 years ago by chris-mac

  • Description modified (diff)

comment:2 Changed 3 years ago by laurent

  • Resolution set to fixed
  • Status changed from new to closed

bug fix 670

comment:3 Changed 3 years ago by chris-mac

  • Resolution fixed deleted
  • Status changed from closed to reopened

Unfortunately still getting the error as below:

[ 93%] Building CXX object qutecom/src/presentation/qt/CMakeFiles/qutecom.dir/imcontact/QtAddIMContact.o
qutecom-2.2-r670/qutecom/src/presentation/qt/imcontact/QtAddIMContact.cpp: In constructor ‘QtAddIMContact::QtAddIMContact(ContactProfile&, CUserProfile&, QWidget*)’:
qutecom-2.2-r670/qutecom/src/presentation/qt/imcontact/QtAddIMContact.cpp:52: error: no matching function for call to ‘QString::fromUtf8(std::string)’
/usr/include/qt4/QtCore/qstring.h:325: note: candidates are: static QString QString::fromUtf8(const char*, int)
make[2]: *** [qutecom/src/presentation/qt/CMakeFiles/qutecom.dir/imcontact/QtAddIMContact.o] Error 1
make[1]: *** [qutecom/src/presentation/qt/CMakeFiles/qutecom.dir/all] Error 2
make: *** [all] Error 2

comment:4 Changed 3 years ago by laurent

  • Resolution set to fixed
  • Status changed from reopened to closed

bug fix : 671

Note: See TracTickets for help on using tickets.