mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 23:51:09 -04:00
CMake modifications, stylesheet gets copied to destination dir now
This commit is contained in:
parent
366ade0e5f
commit
557e659e15
@ -45,9 +45,5 @@ target_link_libraries(launcher
|
|||||||
${QT_LIBRARIES}
|
${QT_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
configure_file(${CMAKE_SOURCE_DIR}/files/launcher.qss
|
||||||
|
"${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/launcher.qss")
|
||||||
#if (APPLE)
|
|
||||||
# find_library(CARBON_FRAMEWORK Carbon)
|
|
||||||
# target_link_libraries(openmw ${CARBON_FRAMEWORK})
|
|
||||||
#endif (APPLE)
|
|
@ -5,7 +5,7 @@
|
|||||||
PlayPage::PlayPage(QWidget *parent) : QWidget(parent)
|
PlayPage::PlayPage(QWidget *parent) : QWidget(parent)
|
||||||
{
|
{
|
||||||
// Load the stylesheet
|
// Load the stylesheet
|
||||||
QFile file("resources/launcher.qss");
|
QFile file("launcher.qss");
|
||||||
|
|
||||||
file.open(QFile::ReadOnly);
|
file.open(QFile::ReadOnly);
|
||||||
QString styleSheet = QLatin1String(file.readAll());
|
QString styleSheet = QLatin1String(file.readAll());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user