Comments (2)
I'm going to try and see if I can work around it with C++ includes.
I'm having some trouble getting my code to compile with 0.6 so it may be my best option for now.
I'll also post a POC PR to add -I to main.
from cxx-qt.
Thank for you taking this time to point this out.
We don't support custom arguments for moc
yet, this would likely need to go into qt-built-utils
and then cxx-qt-build
.
Assume these have to be passed to moc and can't be picked up from the C++ includes :-/
We should figure out what other custom arguments might need to be given to moc as well.
For now the workaround would be to do this in CMake or run moc manually if using a cargo build.
from cxx-qt.
Related Issues (20)
- Build error when adding Rust integration tests to a cargo_without_cmake project HOT 1
- Add qapplication HOT 1
- Run Markdown Lint in CI
- For overloads in cxx-qt-lib use impl AsRef
- virtual void function overrides in rust HOT 8
- CXX-Qt-Lib: Add CXX-compatible templates for make_unique, make_shared, etc. HOT 2
- Allow defining non-QObjects in CXX-Qt
- Linkage error on Linux when including *.qrc.cpp HOT 2
- spawning multiple windows HOT 3
- cxx_name on methods HOT 6
- Investigate moving signals to return a normal type then use a manual guard
- cxx-qt-lib: `QDateTime::setTimezone` overload breaks compilation with Qt 6.7 HOT 3
- Clang 17 return-type-c-linkage warning in qml-features HOT 2
- Rename headers in cxx-qt
- Follow the cxx build for output file names
- Missing equality trait on QImage (and maybe other new types?
- Should types in `extern "C++Qt"` need the `#[qobject]` macro HOT 2
- Add `qsizetype` to `cxx-qt` crate
- Reexport CXX if possible to avoid needing dependency HOT 1
- QtCore not found. HOT 37
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 cxx-qt.