Helge Hafting a écrit :
Abdelrazak Younes wrote:
Helge Hafting a écrit :
Abdelrazak Younes wrote:
../QDocumentDialog.h:95: error: 'BiblioUi' is not a member of 'Ui'
../QDocumentDialog.h:95: error: 'BiblioUi' is not a member of 'Ui'
../QDocumentDialog.h:95: error: template argument 1 is invalid
OK, I see the problem, it is not related to gcc.
I think it's a problem of QtDesigner and/or uic. The objectName
in the ui file is Biblio while it should be BiblioUi.
I don't know the reason why this happen though. Which version of
Qt are you using? It seems that my version of "uic" (4.1.1)
translates the ui file based on its name independently of the
objectName inside.
I am going to verify all ui files. I'll let you know when I
commit the fixes.
Actually, if you could test this patch just to be sure that this
is problem it would be great! Most of the object name don't have
the Ui suffix....
Abdel.
This seems to work fine!
It certainly got the compile going again. Unfortunately, I don't
have time to see if it completes right now.
OK, thanks.
When you have the time, could you please check your Qt4 installation
and the configure options?
I'm back. The compile completed, but the link broke:
/usr/bin/ld: cannot find -lsqlite
collect2: ld returned 1 exit status
make[3]: *** [lyx-qt4] Error 1
I thought configure was supposed to complain about such things.
We need a sql library these days?
I'll install that library and try again.
It's maybe because you requested a link to libQtQql which is not needed.
Try to remove that from you're final linking command.
Abdel.