mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-01 16:00:32 +00:00
Compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21065 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0077782724
commit
026013e1eb
@ -787,7 +787,7 @@ if(QT4_QMAKE_FOUND)
|
|||||||
set(outfile ${CMAKE_CURRENT_BINARY_DIR}/qrc_${outfilename}.cxx)
|
set(outfile ${CMAKE_CURRENT_BINARY_DIR}/qrc_${outfilename}.cxx)
|
||||||
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
|
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
|
||||||
COMMAND ${QT_RCC_EXECUTABLE}
|
COMMAND ${QT_RCC_EXECUTABLE}
|
||||||
ARGS -name ${outfilename} -o ${outfile} ${infile}
|
ARGS -o ${outfile} ${infile}
|
||||||
MAIN_DEPENDENCY ${infile} )
|
MAIN_DEPENDENCY ${infile} )
|
||||||
set(${outfiles} ${${outfiles}} ${outfile})
|
set(${outfiles} ${${outfiles}} ${outfile})
|
||||||
ENDFOREACH (it)
|
ENDFOREACH (it)
|
||||||
|
@ -45,9 +45,10 @@
|
|||||||
|
|
||||||
static void initializeResources()
|
static void initializeResources()
|
||||||
{
|
{
|
||||||
|
extern void qInitResources();
|
||||||
static bool initialized = false;
|
static bool initialized = false;
|
||||||
if (!initialized) {
|
if (!initialized) {
|
||||||
Q_INIT_RESOURCE(Resources);
|
qInitResources();
|
||||||
initialized = true;
|
initialized = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user