Comments (5)
What is weird, when I try to add ASql to cmake-based application like in this tutorial https://www.kdab.com/qt-allstack-part-1-setup/?utm_source=sendinblue&utm_campaign=02-22&utm_medium=email
everything works good.
So... where is problem that Cutelyst libs included same way in qmake project are working well, but not ASql libs?
from asql.
Well... self submit, self solved...
Seems it is problem with includes in angled vs quoted includes in QtCreator (or maybe only in qmake toolchain?)
Same code in cmake project opened in CLion builds without issues.
And.. if I include Cutelee libs to qmake project it build fine (with some mirror issue - I must add "cutelee6-qt5/" to include paths.
But in Cutelee all imports are quoted, but in ASql some are angled.
THAT IS DIFFERENCE AND PROBLEM.
from asql.
the proper include now is <ASql/adatabase>
from asql.
After fresh reinstall I even dont compile ASql and use deb package.
Still same issue with angled inlcudes in ASql headers!!
I must fork it and change <> to ""
from asql.
You clearly have some issue in your cmake/setup, I use it in several projects just fine.
from asql.
Related Issues (20)
- Suspicious ")", "tabsle" and more HOT 1
- Executable names with Qt5 and Qt6 HOT 1
- Compilation error HOT 6
- ASql setNumericalPrecisionPolicy HOT 1
- Is there any plan to support MySQL driver? HOT 1
- Question: Is database username and password easy to grab? HOT 1
- Table name as query parameter? HOT 2
- How to prepare value for column of integer[] type HOT 4
- query with integer[] array HOT 4
- Using ASql with sync mode? HOT 1
- Feature Request: ad field like QSqlQuery ASql::AResult::lastExecutedQuery HOT 3
- Please update deb package HOT 1
- db.exec on a disconnected database HOT 2
- Feature Request: more detailed info for multiqueries HOT 4
- prepared statement in ORDER BY not working HOT 3
- Has Asql any public function to validate query parameters outside of db.exec? HOT 1
- coroutine support (qcoro) HOT 1
- general question HOT 1
- HELP needed: transaction when calling many functions with queries HOT 2
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 asql.