mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-25 17:44:59 +00:00
some pch work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8957 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
197c26de99
commit
88506129ee
@ -7,3 +7,4 @@ libqt2.la
|
|||||||
moc_*.C
|
moc_*.C
|
||||||
*_moc.C
|
*_moc.C
|
||||||
pch.h.gch
|
pch.h.gch
|
||||||
|
pch.h.gch.dep
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2004-08-18 Lars Gullik Bjonnes <larsbj@gullik.net>
|
||||||
|
|
||||||
|
* Some pch work.
|
||||||
|
|
||||||
2004-08-18 José Matos <jamatos@lyx.org>
|
2004-08-18 José Matos <jamatos@lyx.org>
|
||||||
|
|
||||||
* BulletsModule.C (setBullet): show custom bullet instead of "...",
|
* BulletsModule.C (setBullet): show custom bullet instead of "...",
|
||||||
|
@ -6,3 +6,5 @@ Makefile
|
|||||||
libqt2moc.la
|
libqt2moc.la
|
||||||
moc_*.C
|
moc_*.C
|
||||||
*_moc.C
|
*_moc.C
|
||||||
|
pch.h.gch
|
||||||
|
pch.h.gch.dep
|
||||||
|
@ -10,7 +10,8 @@ INCLUDES = -I$(top_srcdir)/src/ \
|
|||||||
$(QT_INCLUDES) \
|
$(QT_INCLUDES) \
|
||||||
$(BOOST_INCLUDES)
|
$(BOOST_INCLUDES)
|
||||||
|
|
||||||
AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION
|
AM_CPPFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION
|
||||||
|
AM_CXXFLAGS = $(PCH_FLAGS)
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libqt2moc.la
|
noinst_LTLIBRARIES = libqt2moc.la
|
||||||
|
|
||||||
|
28
src/frontends/qt2/moc/pch.h
Normal file
28
src/frontends/qt2/moc/pch.h
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
// -*- C++ -*-
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
|
#include <boost/array.hpp>
|
||||||
|
#include <boost/assert.hpp>
|
||||||
|
#include <boost/function.hpp>
|
||||||
|
#include <boost/scoped_ptr.hpp>
|
||||||
|
#include <boost/shared_ptr.hpp>
|
||||||
|
#include <boost/signals/trackable.hpp>
|
||||||
|
#include <boost/signal.hpp>
|
||||||
|
#include <boost/tuple/tuple.hpp>
|
||||||
|
#include <boost/utility.hpp>
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
#include <cmath>
|
||||||
|
#include <iomanip>
|
||||||
|
#include <limits.h>
|
||||||
|
#include <map>
|
||||||
|
#include <sstream>
|
||||||
|
#include <stack>
|
||||||
|
#include <string>
|
||||||
|
#include <utility>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
// Have I said anything about the braindeadness of QT lately?
|
||||||
|
// Just to remind you: signals slot emit as macros, pure lunacy!
|
||||||
|
// So we are not able to have any qt headers in the pch.
|
@ -8,3 +8,6 @@ moc_*.C
|
|||||||
*_moc.C
|
*_moc.C
|
||||||
*.C
|
*.C
|
||||||
*.h
|
*.h
|
||||||
|
pch.h.gch
|
||||||
|
pch.h.gch.dep
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
include $(top_srcdir)/config/common.am
|
include $(top_srcdir)/config/common.am
|
||||||
include $(srcdir)/../Makefile.dialogs
|
include $(srcdir)/../Makefile.dialogs
|
||||||
|
|
||||||
DISTCLEANFILES += *.C *.h
|
CLEANFILES += *.C *Base.h
|
||||||
|
|
||||||
SUBDIRS = . moc
|
SUBDIRS = . moc
|
||||||
|
|
||||||
@ -12,7 +12,8 @@ INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/frontends \
|
|||||||
$(QT_INCLUDES) $(BOOST_INCLUDES) \
|
$(QT_INCLUDES) $(BOOST_INCLUDES) \
|
||||||
-I$(top_srcdir)/src/frontends/controllers
|
-I$(top_srcdir)/src/frontends/controllers
|
||||||
|
|
||||||
AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION
|
AM_CPPFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION
|
||||||
|
AM_CXXFLAGS = $(PCH_FLAGS)
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libqt2ui.la
|
noinst_LTLIBRARIES = libqt2ui.la
|
||||||
|
|
||||||
@ -25,5 +26,5 @@ UICFLAGS=-tr qt_
|
|||||||
|
|
||||||
%.h: %.ui
|
%.h: %.ui
|
||||||
$(UIC) $(UICFLAGS) $< -o $@
|
$(UIC) $(UICFLAGS) $< -o $@
|
||||||
%.C: %.h %.ui
|
%.C: %.h %.ui $(PCH_FILE)
|
||||||
$(UIC) $(UICFLAGS) -impl $^ -o $@
|
$(UIC) $(UICFLAGS) -impl `echo $^ | sed 's/pch.h.gch//'` -o $@
|
||||||
|
@ -8,3 +8,5 @@ moc_*.C
|
|||||||
*_moc.C
|
*_moc.C
|
||||||
*.C
|
*.C
|
||||||
*.h
|
*.h
|
||||||
|
pch.h.gch
|
||||||
|
pch.h.gch.dep
|
||||||
|
@ -9,7 +9,8 @@ INCLUDES = -I$(top_srcdir)/src \
|
|||||||
$(QT_INCLUDES) \
|
$(QT_INCLUDES) \
|
||||||
$(BOOST_INCLUDES)
|
$(BOOST_INCLUDES)
|
||||||
|
|
||||||
AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION
|
AM_CPPFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION
|
||||||
|
AM_CXXFLAGS = $(PCH_FLAGS)
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libqt2uimoc.la
|
noinst_LTLIBRARIES = libqt2uimoc.la
|
||||||
|
|
||||||
|
2
src/frontends/qt2/ui/moc/pch.h
Normal file
2
src/frontends/qt2/ui/moc/pch.h
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#include <qapplication.h>
|
||||||
|
#include <qmetaobject.h>
|
30
src/frontends/qt2/ui/pch.h
Normal file
30
src/frontends/qt2/ui/pch.h
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
#include <config.h>
|
||||||
|
|
||||||
|
#include <qbuttongroup.h>
|
||||||
|
#include <qcheckbox.h>
|
||||||
|
#include <qcombobox.h>
|
||||||
|
#include <qdialog.h>
|
||||||
|
#include <qframe.h>
|
||||||
|
#include <qgroupbox.h>
|
||||||
|
#include <qheader.h>
|
||||||
|
#include <qimage.h>
|
||||||
|
#include <qlabel.h>
|
||||||
|
#include <qlayout.h>
|
||||||
|
#include <qlineedit.h>
|
||||||
|
#include <qlistbox.h>
|
||||||
|
#include <qlistview.h>
|
||||||
|
#include <qmultilineedit.h>
|
||||||
|
#include <qpixmap.h>
|
||||||
|
#include <qprogressbar.h>
|
||||||
|
#include <qpushbutton.h>
|
||||||
|
#include <qradiobutton.h>
|
||||||
|
#include <qslider.h>
|
||||||
|
#include <qspinbox.h>
|
||||||
|
#include <qtabwidget.h>
|
||||||
|
#include <qtextbrowser.h>
|
||||||
|
#include <qtextview.h>
|
||||||
|
#include <qtooltip.h>
|
||||||
|
#include <qvariant.h>
|
||||||
|
#include <qwhatsthis.h>
|
||||||
|
#include <qwidget.h>
|
||||||
|
#include <qwidgetstack.h>
|
Loading…
x
Reference in New Issue
Block a user