1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-15 06:52:34 +02:00

Add ScreenPlayWindow deploy

This commit is contained in:
kelteseth 2018-11-11 17:56:35 +01:00
parent 7930341478
commit d647b28733
4 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<RCC>
<qresource prefix="/">
<file>main.qml</file>
<file>qml/main.qml</file>
</qresource>
</RCC>

View File

@ -121,7 +121,7 @@ MainWindow::MainWindow(int i, QString projectPath, QString id, QString decoder,
m_quickRenderer = QSharedPointer<QQuickView>(new QQuickView(this));
m_quickRenderer.data()->rootContext()->setContextProperty("mainwindow", this);
m_quickRenderer.data()->setSource(QUrl("qrc:/main.qml"));
m_quickRenderer.data()->setSource(QUrl("qrc:/qml/main.qml"));
m_quickRenderer.data()->setGeometry(0, 0, width(), height());
m_quickRenderer.data()->setResizeMode(QQuickView::ResizeMode::SizeRootObjectToView);
m_quickRenderer.data()->setFlags(flags | Qt::FramelessWindowHint | Qt::WindowStaysOnBottomHint);

View File

@ -29,6 +29,7 @@ xcopy C:\Qt\Tools\QtCreator\bin\ssleay32.dll ..\PACKAGE
cd ..
windeployqt.exe --release --qmldir ScreenPlay/qml PACKAGE/ScreenPlay.exe
windeployqt.exe --release --qmldir ScreenPlayWindow/qml PACKAGE/ScreenPlayWindow.exe
cd PACKAGE
@ -37,4 +38,6 @@ del /f *.moc
del /f *.h
del /f *.obj
del /f *.res
del /f *.exp
del /f *.lib