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

Dear Author, How could I install you library? #320

Open
williamXDB opened this issue Jan 27, 2021 · 3 comments
Open

Dear Author, How could I install you library? #320

williamXDB opened this issue Jan 27, 2021 · 3 comments

Comments

@williamXDB
Copy link

Dear Author,
My QtCreator version is V4.3.1

@gpospelov
Copy link
Owner

Hi,

it's a CMake C++ project, it is distributed as a source code. It can be compiled in Qt-creator as any other CMake-based project. Details vary slightly depending on the compiler used, and the operation system. There are quite a number of tutorials about CMake and Qt. See some discussion here.

@williamXDB
Copy link
Author

Thank you ,I have tried ,the error below:
Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19041.
CMake version 3.19.3
CMake Error at cmake/modules/configuration.cmake:46 (find_package):
Could not find a configuration file for package "Qt5" that is compatible
with requested version "5.12".

The following configuration files were considered but not accepted:

E:/Qt/Qt5.9.0/5.9/mingw53_32/lib/cmake/Qt5/Qt5Config.cmake, version: 5.9.0
E:/Qt/Qt5.9.0/5.9/winrt_x86_msvc2017/lib/cmake/Qt5/Qt5Config.cmake, version: 5.9.0

Call Stack (most recent call first):
CMakeLists.txt:12 (include)

@gpospelov
Copy link
Owner

So, from the log, it is clear that you are on Windows. The log says that Qt 5.12 is required, but you have Qt 5.9.0 installed. Your local Qt installation is too old. Also, the log mentions mingw 32bit compiler and I do not have experience with mingw. My recommendation would be to go to the latest long-term-support Qt 5.15.2 + msvc2019 compiler (which you get for free when you install the latest Microsoft Visual Studio Community Edition). And then compile the whole thing from Qt-creator. At some point, I will provide a step-by-step tutorial. But this will take time.

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