stable
v1.7.0
|
Last change
on this file since 13e5be was 454b555, checked in by Frederik Heber <frederik.heber@…>, 4 months ago |
|
Improved includes for Qt classes.
- QT_CFLAGS needs to be set in certain cases. The include folder
QtCore is required additionally due to qopenglfunctions.h.
However, other includes in our repo are now appended by either
QtCore/ or QtGui/.
|
-
Property mode
set to
100644
|
|
File size:
698 bytes
|
| Line | |
|---|
| 1 | AM_CPPFLAGS = ${QT_CFLAGS}
|
|---|
| 2 |
|
|---|
| 3 | EXTRA_DIST = \
|
|---|
| 4 | icons.qrc \
|
|---|
| 5 | icon_domain.png \
|
|---|
| 6 | icon_dreiBein.png \
|
|---|
| 7 | icon_select_atom.png \
|
|---|
| 8 | icon_select_molecule.png \
|
|---|
| 9 | icon_view_stereo.png \
|
|---|
| 10 | molecuilder_logo.png \
|
|---|
| 11 | molecuildergui_logo.png
|
|---|
| 12 |
|
|---|
| 13 | if CONDQTGUI
|
|---|
| 14 | qrc_%.cpp qrc_%.d: %.qrc
|
|---|
| 15 | echo "Compiling qrc files ..."
|
|---|
| 16 | ${QT_RCC} $< -name $* -o qrc_$*.cpp
|
|---|
| 17 | echo "$*.qrc:" >qrc_$*.d
|
|---|
| 18 | grep "<file" $< | sed -e "s#.*<file.*>\(.*\)</file>#\t\1#" >>qrc_$*.d
|
|---|
| 19 |
|
|---|
| 20 | noinst_LTLIBRARIES = libicons.la
|
|---|
| 21 | nodist_libicons_la_SOURCES = qrc_icons.cpp
|
|---|
| 22 |
|
|---|
| 23 | libicons_la_includedir = $(includedir)/MoleCuilder/
|
|---|
| 24 | libicons_la_CPPFLAGS = $(AM_CPPFLAGS)
|
|---|
| 25 | libicons_la_LDFLAGS = $(AM_LDFLAGS)
|
|---|
| 26 |
|
|---|
| 27 | sinclude qrc_icons.d
|
|---|
| 28 | CLEANFILES = qrc_icons.cpp qrc_icons.d
|
|---|
| 29 | endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.