mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
Add ScreenPlayWindow deploy
This commit is contained in:
parent
7930341478
commit
d647b28733
@ -1,5 +1,5 @@
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file>main.qml</file>
|
||||
<file>qml/main.qml</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user