CMake modifications, stylesheet gets copied to destination dir now

actorid
Pieter van der Kloet 14 years ago
parent 366ade0e5f
commit 557e659e15

@ -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…
Cancel
Save