Skip to content

File tree

5 files changed

+38
-1
lines changed

5 files changed

+38
-1
lines changed
 

‎settings.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ INCLUDEPATH +=$${WORKDIR}/src \
203203
$${WORKDIR}/src/plugins \
204204
$${WORKDIR}/src/providers \
205205
$${WORKDIR}/src/raster \
206-
$${WORKDIR}/src/providers/wfs \
206+
$${WORKDIR}/src/providers/wfs \
207207
$${WORKDIR}/src/ui
208208
INCLUDEPATH += $${OBJDIR}/ui
209209

‎src/plugins/copyright_label/copyright_label.pro

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ CONFIG(debug, debug|release){
2222
TARGET = $$member(TARGET, 0)-debug
2323
}
2424

25+
# This is a hack (thanks freddy!) because many plugins use the
26+
# same class names and file names we need to force the compiler
27+
# to create separate object files for them.
28+
MYDIRNAME=copyright_label
29+
MOC_DIR = $${OBJDIR}/moc/plugins/$${MYDIRNAME}
30+
UI_DIR = $${OBJDIR}/ui/plugins/$${MYDIRNAME}
31+
win32:OBJECTS_DIR = $${OBJDIR}/o/win32/plugins/$${MYDIRNAME}
32+
INCLUDEPATH += $${OBJDIR}/ui
33+
2534
LIBS += $${QGISCORELIBADD}
2635
LIBS += $${QGISGUILIBADD}
2736
DESTDIR=$${QGISPLUGINDIR}

‎src/plugins/grid_maker/grid_maker.pro

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ CONFIG(debug, debug|release){
2222
TARGET = $$member(TARGET, 0)-debug
2323
}
2424

25+
# This is a hack (thanks freddy!) because many plugins use the
26+
# same class names and file names we need to force the compiler
27+
# to create separate object files for them.
28+
MYDIRNAME=grid_maker
29+
MOC_DIR = $${OBJDIR}/moc/plugins/$${MYDIRNAME}
30+
UI_DIR = $${OBJDIR}/ui/plugins/$${MYDIRNAME}
31+
win32:OBJECTS_DIR = $${OBJDIR}/o/win32/plugins/$${MYDIRNAME}
32+
INCLUDEPATH += $${OBJDIR}/ui
33+
2534
LIBS += $${QGISCORELIBADD}
2635
LIBS += $${QGISGUILIBADD}
2736
DESTDIR=$${QGISPLUGINDIR}

‎src/plugins/north_arrow/north_arrow.pro

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ CONFIG(debug, debug|release){
2222
TARGET = $$member(TARGET, 0)-debug
2323
}
2424

25+
# This is a hack (thanks freddy!) because many plugins use the
26+
# same class names and file names we need to force the compiler
27+
# to create separate object files for them.
28+
MYDIRNAME=north_arrow
29+
MOC_DIR = $${OBJDIR}/moc/plugins/$${MYDIRNAME}
30+
UI_DIR = $${OBJDIR}/ui/plugins/$${MYDIRNAME}
31+
win32:OBJECTS_DIR = $${OBJDIR}/o/win32/plugins/$${MYDIRNAME}
32+
INCLUDEPATH += $${OBJDIR}/ui
33+
2534
LIBS += $${QGISCORELIBADD}
2635
LIBS += $${QGISGUILIBADD}
2736
DESTDIR=$${QGISPLUGINDIR}

‎src/plugins/scale_bar/scale_bar.pro

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@ CONFIG(debug, debug|release){
2222
TARGET = $$member(TARGET, 0)-debug
2323
}
2424

25+
26+
# This is a hack (thanks freddy!) because many plugins use the
27+
# same class names and file names we need to force the compiler
28+
# to create separate object files for them.
29+
MYDIRNAME=scale_bar
30+
MOC_DIR = $${OBJDIR}/moc/plugins/$${MYDIRNAME}
31+
UI_DIR = $${OBJDIR}/ui/plugins/$${MYDIRNAME}
32+
win32:OBJECTS_DIR = $${OBJDIR}/o/win32/plugins/$${MYDIRNAME}
33+
INCLUDEPATH += $${OBJDIR}/ui
34+
2535
LIBS += $${QGISCORELIBADD}
2636
LIBS += $${QGISGUILIBADD}
2737
DESTDIR=$${QGISPLUGINDIR}

0 commit comments

Comments
 (0)
Please sign in to comment.