Giter VIP home page Giter VIP logo

sqlate's People

Contributors

02jandal avatar amantia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sqlate'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 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.