Home javascript android java php c# ubuntu python c++ c ios TAGS

No such file or directory


Date : 2019-06-05 11:51:44 , By : whiskeyhoney

I create the schedule for school, from GitHub, but I don't khow, what is the problem. After compiling, I see this message.

No such or file directory - sqlite3.h

#ifndef PMANAGER_H
#define PMANAGER_H
#include <sqlite3.h> /* Version: 3.9.2 */
#include <stdio.h>
#include <list>
#include <vector>
#include <ctime>
#include <unistd.h>
#include <sys/types.h>
#include <pwd.h>
#include <sys/stat.h>
#include <fstream>
#include <experimental/filesystem>
#include "../model/event.h"
#include "../model/category.h"
TAGS : c++
Answers :
By : Tom Kim

Solution 1:

  • First: Download SQLite3 and extract and rename it in such a way as to have c:\sqlite3\sqlite3.h

  • Then make sure that your .pro file contain:

INCLUDEPATH += C:\\sqlite3\\
DEPENDPATH += C:\\sqlite3\\

Solution 2: Use QSqlDatabase and for that you need to add to your .pro file this:

QT += sql

Hope it helps you.

Thanks for help. But, how I can't create schedule for school?

- Technology - Yellow pages
» java
» php
» c#
» ubuntu
» python
» c++
» c
» ios
» jquery
» html
» sql
» r
» mysql
» linux
» access
» iphone
» css
» excel
» vb.net
» .net
» ruby
Privacy Policy - Copyrights Notice - Terms - Contact Us 2019 © tinytut
Licensed under cc by-sa 3.0 with attribution required.