Enrico Forestieri wrote:
On Fri, Oct 19, 2007 at 05:22:30PM +0200, Abdelrazak Younes wrote:
[EMAIL PROTECTED] wrote:
Author: forenr
Date: Fri Oct 19 17:16:40 2007
New Revision: 21065
URL: http://www.lyx.org/trac/changeset/21065
Log:
Compile fix
static void initializeResources()
{
+ extern void qInitResources();
static bool initialized = false;
if (!initialized) {
- Q_INIT_RESOURCE(Resources);
+ qInitResources();
Didn't Peter said that Q_INIT_RESOURCE is the Qt official way and that
Windows rcc doesn't generate qInitResources() but something else?
The rcc source does not use Q_INIT_RESOURCE, it uses qInitResources(),
unless you use -name xxx, in which case it uses qInitResources_xxx().
OK, now I understand why it compiles with automake. But wouldn't it be
better to fix the automake call of rcc and to use Q_INIT_RESOURCE?
Peter