gui #17

Open
shaunrd0 wants to merge 11 commits from gui into main
6 changed files with 8 additions and 4 deletions
Showing only changes of commit db2f878018 - Show all commits

View File

@ -19,8 +19,6 @@ And of course, [Rust](https://www.rust-lang.org/tools/install).
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```
## Dependencies
This project requires at least Qt 6.7. To check your Qt version
```bash
@ -144,6 +142,7 @@ Some helpful links for reading up on QML if you're just getting started.
* [All QML Controls Types](https://doc.qt.io/qt-6/qtquick-controls-qmlmodule.html)
* [KDAB CXX-Qt Book](https://kdab.github.io/cxx-qt/book/)
* [github.com/KDAB/cxx-qt](https://github.com/KDAB/cxx-qt)
* [QML and C++ Intergration](https://doc.qt.io/qt-6/qtqml-cppintegration-overview.html)
### Plugins

View File

@ -18,6 +18,7 @@ fn main() {
.qt_module("Gui")
.qt_module("Svg")
.qt_module("Xml")
.qrc("./resources.qrc")
.files(["src/gui/colors.rs", "src/gui/filesystem.rs"])
.build();
}

View File

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -31,7 +31,7 @@ ApplicationWindow {
anchors.top: parent.top
anchors.margins: 20
source: "../icons/kilroy-256.png"
source: "qrc:/images/kilroy.png"
sourceSize.width: 80
sourceSize.height: 80
fillMode: Image.PreserveAspectFit

View File

@ -4,7 +4,6 @@
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import clide.module 1.0

5
resources.qrc Normal file
View File

@ -0,0 +1,5 @@
<RCC>
<qresource prefix="/images">
<file alias="kilroy.png">images/kilroy-256.png</file>
</qresource>
</RCC>