zqx123321 / library-qt Goto Github PK
View Code? Open in Web Editor NEWC++QT写的图书管理系统
C++QT写的图书管理系统
我用vs2017遇到了好多编译错误:
d:\worecode\library-qt-master (3)\library-qt-master\library\library\filedb.h(448): error C2664: “void std::vector<char *,std::allocator<_Ty>>::push_back(_Ty &&)”: 无法将参数 1 从“const char [1]”转换为“const _Ty &”
1> with
1> [
1> _Ty=char *
1> ] (编译源文件 admin_addclassify.cpp)
1> d:\worecode\library-qt-master (3)\library-qt-master\library\library\filedb.h(448): note: 原因如下: 无法从“const char [1]”转换为“const _Ty”
1> with
1> [
1> _Ty=char *
1> ] (编译源文件 admin_addclassify.cpp)
1> d:\worecode\library-qt-master (3)\library-qt-master\library\library\filedb.h(448): note: 从字符串文本转换将丢失 const 限定符(请参阅 /Zc:strictStrings) (编译源文件 admin_addclassify.cpp)
1> d:\worecode\library-qt-master (3)\library-qt-master\library\library\admin_addclassify.cpp(57): note: 参见对正在编译的函数 模板 实例化“int FileDB::update(std::string,T &,T &,std::vector<std::string,std::allocator<_Ty>> &)”的引用
1> with
1> [
1> T=Classify,
1> _Ty=std::string
1> ]
1> d:\worecode\library-qt-master (3)\library-qt-master\library\library\filedb.h(456): error C2664: “void std::vector<char *,std::allocator<_Ty>>::push_back(_Ty &&)”: 无法将参数 1 从“const char [1]”转换为“const _Ty &”
1> with
1> [
1> _Ty=char *
1> ] (编译源文件 admin_addclassify.cpp)
1> d:\worecode\library-qt-master (3)\library-qt-master\library\library\filedb.h(456): note: 原因如下: 无法从“const char [1]”转换为“const _Ty”
1> with
1> [
1> _Ty=char *
1> ] (编译源文件 admin_addclassify.cpp)
1> d:\worecode\library-qt-master (3)\library-qt-master\library\library\filedb.h(456): note: 从字符串文本转换将丢失 const 限定符(请参阅 /Zc:strictStrings) (编译源文件 admin_addclassify.cpp)
1> d:\worecode\library-qt-master (3)\library-qt-master\library\library\filedb.h(461): error C2664: “void std::vector<char *,std::allocator<_Ty>>::push_back(_Ty &&)”: 无法将参数 1 从“const char [1]”转换为“const _Ty &”
1> with
1> [
1> _Ty=char *
1> ] (编译源文件 admin_addclassify.cpp)
1> d:\worecode\library-qt-master (3)\library-qt-master\library\library\filedb.h(461): note: 原因如下: 无法从“const char [1]”转换为“const _Ty”
直接运行显示缺失QT5Core.dll文件
为什么我的有找不到Qt5core.dll这个提示然后那个没法运行
请问是编译的时候环境是怎样的
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.