Comments (3)
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.
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.
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)
- Fix undo/redo bug on boolean change in `treeviews` example
- Refactor SessionItem
- not find include<mvvm/viewmodel_export.h> HOT 1
- Polish NodeEditor example
- SessionItem::setVisible
- Remove QTabWidget from the user examples.
- Make Example thumbnails.
- Run beautifier and update header guards.
- Run include-what-you-use on whole code base
- Better README and screenshots
- Add GroupProperty example
- Fix bug in treeviews example.
- Repair table in celleditors example
- Refactor Data2DItem
- SessionItem::insertItem switch to unique_ptr
- Repair flat editor example
- compile error by Qt5.12.0 HOT 5
- A question about architecture HOT 1
- Using ui files for view
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qt-mvvm.