mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 09:09:43 +00:00
CMake modifications, stylesheet gets copied to destination dir now
This commit is contained in:
parent
366ade0e5f
commit
557e659e15
3 changed files with 3 additions and 7 deletions
|
@ -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…
Reference in a new issue