Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ Makefile.*
*.user.*
*.o
moc_*.cpp
ui_*.h
moc_predefs.h
/ui/
ui_*.h
.qm/
*.qm
qmake_qmake_qm_files.qrc
Expand Down
14 changes: 12 additions & 2 deletions Jamulus.pro
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,16 @@ win32 {
# It doesn't work with multiple targets or architectures.
RESOURCES += src/resources.qrc

# store ui_*.h files in a directory instead of project root
UI_DIR = ui

# A tree built in place before UI_DIR was set still has ui_*.h in its root, and
# they must be deleted before creating the new Makefiles.
STALE_UI_HEADERS = $$files(ui_*.h)
for (stale, STALE_UI_HEADERS) {
system($$QMAKE_DEL_FILE $$stale)
}

FORMS_GUI = src/aboutdlgbase.ui \
src/serverdlgbase.ui

Expand Down Expand Up @@ -1213,9 +1223,9 @@ android {
for (abi, ANDROID_ABIS) {
DISTCLEAN_DIRS += debug-$${abi} release-$${abi}
}
DISTCLEAN_DIRS += .qm
DISTCLEAN_DIRS += $$UI_DIR .qm
} else {
DISTCLEAN_DIRS += debug release .qm
DISTCLEAN_DIRS += debug release $$UI_DIR .qm
}

win32 {
Expand Down
Loading