On 18.05.2011 11:51, venom00 wrote:
And... Scons? :P However I'll test it under Linux with
autotools to be sure everything is right.

OK, here's the version of the patch working under Linux with autotools.
So if I'm correct, to add a file which needs the moc file in src/frontends/qt4 I
have to:

- include the moc file at the end;
- add the files in src/frontends/qt4/Makefile.am in SOURCE_FILES
- add the header file in src/frontends/qt4/Makefile.am in MOC_HEADER

venom00

Are the fancylineedit.* files 1:1 copied from qtcreator? Then we should not
touch them otherwise we could lyxify them.



Index: src/frontends/qt4/Makefile.am
===================================================================
--- src/frontends/qt4/Makefile.am       (revisione 38779)
+++ src/frontends/qt4/Makefile.am       (copia locale)
@@ -58,6 +58,8 @@
        ColorCache.cpp \
        CustomizedWidgets.cpp \
        EmptyTable.cpp \
+       fancylineedit.cpp \
+       fancylineedit.h \
        FileDialog.cpp \
        FindAndReplace.cpp \
        FloatPlacement.cpp \
@@ -173,6 +175,7 @@
        BulletsModule.h \
        CustomizedWidgets.h \
        EmptyTable.h \
+       fancylineedit.h \
        FindAndReplace.h \
        FloatPlacement.h \
        GuiAbout.h \

Reply via email to