summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/SConscript')
-rw-r--r--Swift/QtUI/SConscript34
1 files changed, 34 insertions, 0 deletions
diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript
index 70a1038..35eda5b 100644
--- a/Swift/QtUI/SConscript
+++ b/Swift/QtUI/SConscript
@@ -164,6 +164,40 @@ sources = [
"QtUISettingConstants.cpp"
]
+# QtVCardWidget
+sources.extend([
+ "QtVCardWidget/QtResizableLineEdit.cpp",
+ "QtVCardWidget/QtVCardAddressField.cpp",
+ "QtVCardWidget/QtVCardAddressLabelField.cpp",
+ "QtVCardWidget/QtVCardBirthdayField.cpp",
+ "QtVCardWidget/QtVCardDescriptionField.cpp",
+ "QtVCardWidget/QtVCardEMailField.cpp",
+ "QtVCardWidget/QtVCardJIDField.cpp",
+ "QtVCardWidget/QtVCardOrganisationField.cpp",
+ "QtVCardWidget/QtVCardPhotoAndNameFields.cpp",
+ "QtVCardWidget/QtVCardRoleField.cpp",
+ "QtVCardWidget/QtVCardTelephoneField.cpp",
+ "QtVCardWidget/QtVCardTitleField.cpp",
+ "QtVCardWidget/QtVCardURLField.cpp",
+ "QtVCardWidget/QtVCardWidget.cpp"
+])
+
+myenv.Uic4("QtVCardWidget/QtVCardAddressField.ui")
+myenv.Uic4("QtVCardWidget/QtVCardAddressLabelField.ui")
+myenv.Uic4("QtVCardWidget/QtVCardBirthdayField.ui")
+myenv.Uic4("QtVCardWidget/QtVCardDescriptionField.ui")
+myenv.Uic4("QtVCardWidget/QtVCardEMailField.ui")
+myenv.Uic4("QtVCardWidget/QtVCardJIDField.ui")
+myenv.Uic4("QtVCardWidget/QtVCardOrganisationField.ui")
+myenv.Uic4("QtVCardWidget/QtVCardPhotoAndNameFields.ui")
+myenv.Uic4("QtVCardWidget/QtVCardRoleField.ui")
+myenv.Uic4("QtVCardWidget/QtVCardTelephoneField.ui")
+myenv.Uic4("QtVCardWidget/QtVCardTitleField.ui")
+myenv.Uic4("QtVCardWidget/QtVCardURLField.ui")
+myenv.Uic4("QtVCardWidget/QtVCardWidget.ui")
+myenv.Uic4("QtProfileWindow.ui")
+
+
myenv["SWIFT_VERSION"] = Version.getBuildVersion(env.Dir("#").abspath, "swift")
version_match = re.match("(\d+)\.(\d+).*", myenv["SWIFT_VERSION"])
myenv["SWIFT_VERSION_MAJOR"] = int(version_match.group(1)) if version_match else 0