This repository has been archived by the owner on Feb 12, 2023. It is now read-only.
The errors when I compiled qTox with Qt5.9.0.. #6646
Labels
O-need-info
We need more information for this issue
Brief Description
OS: Ubuntu
qTox version: latest
Commit hash:
toxcore: latest
Qt: 5.9.0
…
Steps to reproduce
When I compiled the qTox with Qt5.9.0, it appeared such errors:
/home/ailinux/projects/qTox/qTox/src/core/core.h:218: error: ‘TOX_CONFERENCE_TYPE’ has not been declared
static void onGroupInvite(Tox* tox, uint32_t friendId, TOX_CONFERENCE_TYPE type,
^~~~~~~~~~~~~~~~~~~
/home/ailinux/projects/qTox/qTox/src/core/core.h:124: error: ‘TOX_CONFERENCE_TYPE_AV’ was not declared in this scope
int createGroup(uint8_t type = TOX_CONFERENCE_TYPE_AV);
^~~~~~~~~~~~~~~~~~~~~~
At the begining, it also appeared
/home/ailinux/projects/qTox/qTox/src/core/core.h:212: error: ‘Tox_Connection’ has not been declared
static void onConnectionStatusChanged(Tox* tox, uint32_t friendId, Tox_Connection status,
^~~~~~~~~~~~~~
then I opened the <tox/tox.h> and I found the definition of 'TOX_CONNECTION'. After I changed the 'Tox_Connection' to 'Tox_Connection',it worked.
But I couldn't find the definition of 'TOX_CONFERENCE_TYPE ',how should I solve this?
The text was updated successfully, but these errors were encountered: