Giter Site home page Giter Site logo

Comments (3)

gpospelov avatar gpospelov commented on June 3, 2024

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.

from qt-mvvm.

williamXDB avatar williamXDB commented on June 3, 2024

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)

from qt-mvvm.

gpospelov avatar gpospelov commented on June 3, 2024

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.

from qt-mvvm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.