[PR #189] [MERGED] Allow QtWidget-Free builds #233

Closed
opened 2026-05-05 11:21:21 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/qmlnet/qmlnet/pull/189
Author: @shartte
Created: 4/11/2020
Status: Merged
Merged: 4/12/2020
Merged by: @pauldotknopf

Base: developHead: non-widget-support


📝 Commits (1)

  • 70c23c3 Allow QtWidget-Free builds

📊 Changes

1 file changed (+11 additions, -1 deletions)

View changed files

📝 src/native/QmlNet/QmlNet/qml/QCoreApplication.cpp (+11 -1)

📄 Description

This small change makes the dependency on QApplication dependent on the respective header being available.
My use case for this is that I build Qt statically and link the native QmlNet bits against that.
Since I don't want to use QtWidgets, I configure Qt to not have widgets, but this is the only piece of QmlNet that will actually not compile for me in that case.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/qmlnet/qmlnet/pull/189 **Author:** [@shartte](https://github.com/shartte) **Created:** 4/11/2020 **Status:** ✅ Merged **Merged:** 4/12/2020 **Merged by:** [@pauldotknopf](https://github.com/pauldotknopf) **Base:** `develop` ← **Head:** `non-widget-support` --- ### 📝 Commits (1) - [`70c23c3`](https://github.com/qmlnet/qmlnet/commit/70c23c3a98896f6183be0281d420facc6d0cbf84) Allow QtWidget-Free builds ### 📊 Changes **1 file changed** (+11 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/native/QmlNet/QmlNet/qml/QCoreApplication.cpp` (+11 -1) </details> ### 📄 Description This small change makes the dependency on QApplication dependent on the respective header being available. My use case for this is that I build Qt statically and link the native QmlNet bits against that. Since I don't want to use QtWidgets, I configure Qt to not have widgets, but this is the only piece of QmlNet that will actually not compile for me in that case. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 11:21:21 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/qmlnet#233
No description provided.