Speek-App / Speek

Privacy focused messenger that doesn't trust anyone with your identity, your contact list, or your communications
https://speek.network
739 stars 68 forks source link

Error compiling source code #41

Open DotCppWilliam opened 1 year ago

DotCppWilliam commented 1 year ago

What version of qt are you using? I have many problems when compiling with qt6.5, and it has troubled me for many days without compiling successfully.

Speek-App commented 1 year ago

Sorry for the late response, but you need to use Qt version 5.15. Although I have been able to compile it, after minor modifications, using Qt version 6.1 in the past. Please let me know if you need more help compiling it.

DotCppWilliam commented 1 year ago

I compiled it with Qt 6.5. I see you are using QAbstractVideoFilter which is deprecated in Qt 6 and you are also using C++20. So, I don’t know how you compiled it, cry /(ㄒoㄒ)/~~

DotCppWilliam commented 1 year ago
1
Speek-App commented 1 year ago

That is a dependency from the QR-Code library being used. However, it might work after updating it since I have seen a pull request to add Qt6 support.

Later, I will look into compiling it for Qt6. In the meantime, I recommend using Qt 5.15 (https://www.qt.io/download-qt-installer-oss). When installing, you need to select "Qt 5.15" in the "Select Components" step under "Qt".

By the way, based on your path, it seems like you are using Windows. If that is the case, compiling can be bothersome as you also need to compile protobuf, OpenSSL, and obtain a tor.exe binary. It's a bit outdated and basic, but you can see https://github.com/Speek-App/Speek/blob/main/BUILDING.md#windows for instructions.