-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cargo only example fails in main
with Qt 5 due to std types confusion
#592
Labels
🪲 bug
Something isn't working
Comments
ahayzen-kdab
added a commit
to ahayzen-kdab/cxx-qt
that referenced
this issue
Jun 26, 2023
When building with cargo we need to ensure that the statics aren't optimised out for registering types with Qt 5. Otherwise we cannot use numbers in QML. Closes KDAB#592
This was referenced Jun 26, 2023
ahayzen-kdab
added a commit
to ahayzen-kdab/cxx-qt
that referenced
this issue
Jun 26, 2023
When building with cargo we need to ensure that the statics aren't optimised out for registering types with Qt 5. Otherwise we cannot use numbers in QML. Closes KDAB#592
ahayzen-kdab
added a commit
to ahayzen-kdab/cxx-qt
that referenced
this issue
Jun 26, 2023
When building with cargo we need to ensure that the statics aren't optimised out for registering types with Qt 5. Otherwise we cannot use numbers in QML. Closes KDAB#592
Oof, I hadn't noticed this because we default to using Qt6. I wonder when this bug was introduced? |
I assume it's from this 486b0a2 |
ahayzen-kdab
added a commit
to ahayzen-kdab/cxx-qt
that referenced
this issue
Jun 26, 2023
As this potentially allows us to have cxx-qt-lib separate in the future. Related to KDAB#592
ahayzen-kdab
added a commit
to ahayzen-kdab/cxx-qt
that referenced
this issue
Jun 27, 2023
As this potentially allows us to have cxx-qt-lib separate in the future. Related to KDAB#592
ahayzen-kdab
added a commit
to ahayzen-kdab/cxx-qt
that referenced
this issue
Jun 27, 2023
As this potentially allows us to have cxx-qt-lib separate in the future. Related to KDAB#592
ahayzen-kdab
added a commit
to ahayzen-kdab/cxx-qt
that referenced
this issue
Jun 27, 2023
When building with cargo we need to ensure that the statics aren't optimised out for registering types with Qt 5. Otherwise we cannot use numbers in QML. Also move std_types from -lib into -build, which potentially allows us to have cxx-qt-lib separate in the future. Closes KDAB#592
ahayzen-kdab
added a commit
to ahayzen-kdab/cxx-qt
that referenced
this issue
Jun 27, 2023
When building with cargo we need to ensure that the statics aren't optimised out for registering types with Qt 5. Otherwise we cannot use numbers in QML. Also move std_types from -lib into -build, which potentially allows us to have cxx-qt-lib separate in the future. Closes KDAB#592
ahayzen-kdab
added a commit
to ahayzen-kdab/cxx-qt
that referenced
this issue
Jun 27, 2023
When building with cargo we need to ensure that the statics aren't optimised out for registering types with Qt 5. Otherwise we cannot use numbers in QML. Also move std_types from -lib into -build, which potentially allows us to have cxx-qt-lib separate in the future. Closes KDAB#592
ahayzen-kdab
added a commit
to ahayzen-kdab/cxx-qt
that referenced
this issue
Jun 28, 2023
When building with cargo we need to ensure that the statics aren't optimised out for registering types with Qt 5. Otherwise we cannot use numbers in QML. Also move std_types from -lib into -build, which potentially allows us to have cxx-qt-lib separate in the future. Closes KDAB#592
ahayzen-kdab
added a commit
to ahayzen-kdab/cxx-qt
that referenced
this issue
Jun 28, 2023
When building with cargo we need to ensure that the statics aren't optimised out for registering types with Qt 5. Otherwise we cannot use numbers in QML. Also move std_types from -lib into -build, which potentially allows us to have cxx-qt-lib separate in the future. Closes KDAB#592
ahayzen-kdab
added a commit
to ahayzen-kdab/cxx-qt
that referenced
this issue
Jun 28, 2023
When building with cargo we need to ensure that the statics aren't optimised out for registering types with Qt 5. Otherwise we cannot use numbers in QML. Also move std_types from -lib into -build, which potentially allows us to have cxx-qt-lib separate in the future. Closes KDAB#592
ahayzen-kdab
added a commit
to ahayzen-kdab/cxx-qt
that referenced
this issue
Jun 28, 2023
When building with cargo we need to ensure that the statics aren't optimised out for registering types with Qt 5. Otherwise we cannot use numbers in QML. Also move std_types from -lib into -build, which potentially allows us to have cxx-qt-lib separate in the future. Closes KDAB#592
ahayzen-kdab
added a commit
to ahayzen-kdab/cxx-qt
that referenced
this issue
Jun 28, 2023
When building with cargo we need to ensure that the statics aren't optimised out for registering types with Qt 5. Otherwise we cannot use numbers in QML. Also move std_types from -lib into -build, which potentially allows us to have cxx-qt-lib separate in the future. Closes KDAB#592
ahayzen-kdab
added a commit
to ahayzen-kdab/cxx-qt
that referenced
this issue
Jun 28, 2023
When building with cargo we need to ensure that the statics aren't optimised out for registering types with Qt 5. Otherwise we cannot use numbers in QML. Also move std_types from -lib into -build, which potentially allows us to have cxx-qt-lib separate in the future. Closes KDAB#592
ahayzen-kdab
added a commit
to ahayzen-kdab/cxx-qt
that referenced
this issue
Jun 28, 2023
When building with cargo we need to ensure that the statics aren't optimised out for registering types with Qt 5. Otherwise we cannot use numbers in QML. Also move std_types from -lib into -build, which potentially allows us to have cxx-qt-lib separate in the future. Closes KDAB#592
ahayzen-kdab
added a commit
to ahayzen-kdab/cxx-qt
that referenced
this issue
Jun 29, 2023
When building with cargo we need to ensure that the statics aren't optimised out for registering types with Qt 5. Otherwise we cannot use numbers in QML. Also move std_types from -lib into -build, which potentially allows us to have cxx-qt-lib separate in the future. Closes KDAB#592
Be-ing
pushed a commit
that referenced
this issue
Jun 29, 2023
When building with cargo we need to ensure that the statics aren't optimised out for registering types with Qt 5. Otherwise we cannot use numbers in QML. Also move std_types from -lib into -build, which potentially allows us to have cxx-qt-lib separate in the future. Closes #592
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using
main
the cargo-only build fails to run with Qt 5 due tostd_types.cpp
not occurring, it however works with CMake.This is likely due to
+whole-archive
missing ?The text was updated successfully, but these errors were encountered: