mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-19 15:39:49 +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}
|
||||
)
|
||||
|
||||
|
||||
|
||||
#if (APPLE)
|
||||
# find_library(CARBON_FRAMEWORK Carbon)
|
||||
# target_link_libraries(openmw ${CARBON_FRAMEWORK})
|
||||
#endif (APPLE)
|
||||
configure_file(${CMAKE_SOURCE_DIR}/files/launcher.qss
|
||||
"${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/launcher.qss")
|
|
@ -5,7 +5,7 @@
|
|||
PlayPage::PlayPage(QWidget *parent) : QWidget(parent)
|
||||
{
|
||||
// Load the stylesheet
|
||||
QFile file("resources/launcher.qss");
|
||||
QFile file("launcher.qss");
|
||||
|
||||
file.open(QFile::ReadOnly);
|
||||
QString styleSheet = QLatin1String(file.readAll());
|
||||
|
|
Loading…
Reference in a new issue