sqlate's People
Forkers
02jandal lukeandrew ablu emaxerrno gaoxiaojun embicoin jleko75 leeathefei yehai johanneslochmann g-stream swex drdew2 sunruihua0522 isabella232 chenchaoqi2018sqlate's Issues
unixodbc dependency
I'm getting the following error when trying to build without unixodbc installed. Is this a typo or is unixodbc a dependency? I uploaded a pkgbuild to Arch Linux AUR https://aur.archlinux.org/packages/sqlate-git
/build/sqlate-git/src/sqlate/SchemaUpdater.cpp:23:17: fatal error: sql.h: No such file or directory
#include "sql.h"
Getting started
I am trying to get started with the library, and I successfully built it using the provided instructions.
However, I am having issues when trying to build a simple test project.
Here is my .pro
file:
QT += core gui widgets sql
CONFIG += c++14
TARGET = test_sqlate
TEMPLATE = app
INCLUDEPATH += /opt/sqlate/include
LIBS += -L/opt/sqlate/lib -lsqlate
SOURCES += main.cpp
And here is my main.cpp
:
#include <QApplication>
#include <SqlSchema.h>
#include <Sql.h>
//copied from README.md
TABLE( Presenters) {
SQL_NAME( "presenters" );
COLUMN( name, QString, NotNull );
COLUMN( age, int, NotNull );
COLUMN( company, QString);
typedef boost::mpl::vector<nameType, ageType, companyType> columns;
};
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
return 0;
}
I am getting the error no match for operator% (operand types are QLatin1Literal and QString)
, along with others.
Is there anything I am missing? I am using Qt 5.7 with GCC 5.4.
Add README
Add a README also shown by github on the main page, to tell people what all this about.
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.