Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling source code #41

Open
DotCppWilliam opened this issue May 1, 2023 · 4 comments
Open

Error compiling source code #41

DotCppWilliam opened this issue May 1, 2023 · 4 comments

Comments

@DotCppWilliam
Copy link

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
Copy link
Owner

Speek-App commented May 5, 2023

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
Copy link
Author

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
Copy link
Author

1

@Speek-App
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants