mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-29 15:26:05 +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)
|
||||
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
|
||||
COMMAND ${QT_RCC_EXECUTABLE}
|
||||
ARGS -name ${outfilename} -o ${outfile} ${infile}
|
||||
ARGS -o ${outfile} ${infile}
|
||||
MAIN_DEPENDENCY ${infile} )
|
||||
set(${outfiles} ${${outfiles}} ${outfile})
|
||||
ENDFOREACH (it)
|
||||
|
@ -45,9 +45,10 @@
|
||||
|
||||
static void initializeResources()
|
||||
{
|
||||
extern void qInitResources();
|
||||
static bool initialized = false;
|
||||
if (!initialized) {
|
||||
Q_INIT_RESOURCE(Resources);
|
||||
qInitResources();
|
||||
initialized = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user