1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

[Windows] Fixed compile issue.

This commit is contained in:
S. Razi Alavizadeh 2013-06-17 03:46:50 +04:30
parent d64a86ab7e
commit eac8af1b51
2 changed files with 8 additions and 1 deletions

View File

@ -1,7 +1,7 @@
TARGET = $$qtLibraryTarget(GreaseMonkey) TARGET = $$qtLibraryTarget(GreaseMonkey)
os2: TARGET = GreaseMo os2: TARGET = GreaseMo
INCLUDEPATH += settings\ INCLUDEPATH += . settings\
DEPENDPATH += settings\ DEPENDPATH += settings\
SOURCES += gm_plugin.cpp \ SOURCES += gm_plugin.cpp \

View File

@ -5,7 +5,9 @@ defineTest(addSubdir) {
entries = $$files($$subdir/*) entries = $$files($$subdir/*)
for(entry, entries) { for(entry, entries) {
fullPath = $$replace(entry, ;,"") fullPath = $$replace(entry, ;,"")
fullPath = $$replace(fullPath, \\\\, /)
name = $$replace(fullPath, $$re_escape("$$subdir/"), "") name = $$replace(fullPath, $$re_escape("$$subdir/"), "")
win32: fullPath = $$lower($$fullPath)
exists($$fullPath/*.pro): SUBDIRS += $$fullPath exists($$fullPath/*.pro): SUBDIRS += $$fullPath
} }
} }
@ -27,3 +29,8 @@ outOfDirPlugins = $$(QUPZILLA_PLUGINS_SRCDIR)
# GnomeKeyringPasswords only with GNOME_INTEGRATION # GnomeKeyringPasswords only with GNOME_INTEGRATION
!contains(DEFINES, "GNOME_INTEGRATION"): SUBDIRS -= $$PWD/GnomeKeyringPasswords !contains(DEFINES, "GNOME_INTEGRATION"): SUBDIRS -= $$PWD/GnomeKeyringPasswords
!system(pkg-config --exists gnome-keyring-1): SUBDIRS -= $$PWD/GnomeKeyringPasswords !system(pkg-config --exists gnome-keyring-1): SUBDIRS -= $$PWD/GnomeKeyringPasswords
win32 {
SUBDIRS -= $$lower($$PWD/KWalletPasswords)
SUBDIRS -= $$lower($$PWD/GnomeKeyringPasswords)
}