https://bugs.kde.org/show_bug.cgi?id=483652

            Bug ID: 483652
           Summary: vcpkg build fails unless plugins are built statically
    Classification: Applications
           Product: kmymoney
           Version: git (master)
          Platform: Compiled Sources
                OS: macOS
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: buildsystem
          Assignee: kmymoney-devel@kde.org
          Reporter: jonat...@kimmitt.co.uk
  Target Milestone: ---

Created attachment 167252
  --> https://bugs.kde.org/attachment.cgi?id=167252&action=edit
kmymoney MacOS execution backtrace

SUMMARY

NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  Install the manifest given in kmymoney git tree using "vcpkg install"
2.  Configure using "cmake ..
-DCMAKE_TOOLCHAIN_FILE=/Users/jonathan/vcpkg/scripts/buildsystems/vcpkg.cmake
-G Ninja -DCMAKE_BUILD_TYPE=Debug"
3.  ninja
4. lldb bin/kmymoney.app/Contents/MacOS/kmymoney
5. run

OBSERVED RESULT
as per attached backtrace

EXPECTED RESULT
The main window appears

SOFTWARE/OS VERSIONS
macOS: 
Qt Version: 

ADDITIONAL INFORMATION
To compile I had to comment out certain lines that caused errors. This might be
because it is expecting QT6 or some other version issue.

diff --git a/kmymoney/dialogs/kequitypriceupdatedlg.cpp
b/kmymoney/dialogs/kequitypriceupdatedlg.cpp
index 6773525d2..2cb63044c 100644
--- a/kmymoney/dialogs/kequitypriceupdatedlg.cpp
+++ b/kmymoney/dialogs/kequitypriceupdatedlg.cpp
@@ -417,7 +417,7 @@ public:
         m_progressDelay.start();

         m_quote.setDateRange(ui->m_fromDate->date(), ui->m_toDate->date());
-        m_quote.setUseSingleQuoteSignal(true);
+       //FIXME!!        m_quote.setUseSingleQuoteSignal(true);

         m_abortUpdate = false;
         for (int row = 0; !m_abortUpdate && row < rows; ++row) {
diff --git a/kmymoney/plugins/xml/kcm_xmlstorage.cpp
b/kmymoney/plugins/xml/kcm_xmlstorage.cpp
index a53d0a19b..50a524bbc 100644
--- a/kmymoney/plugins/xml/kcm_xmlstorage.cpp
+++ b/kmymoney/plugins/xml/kcm_xmlstorage.cpp
@@ -22,7 +22,9 @@
 // Project Includes

 #include "config-kmymoney.h"
+#ifdef ENABLE_GPG
 #include "kgpgfile.h"
+#endif
 #include "kmymoneysettings.h"

 #define RECOVER_KEY_ID      "0xD2B08440"
diff --git a/kmymoney/plugins/xml/kgpgkeyselectiondlg.cpp
b/kmymoney/plugins/xml/kgpgkeyselectiondlg.cpp
index 263381a19..530ee1f5a 100644
--- a/kmymoney/plugins/xml/kgpgkeyselectiondlg.cpp
+++ b/kmymoney/plugins/xml/kgpgkeyselectiondlg.cpp
@@ -18,7 +18,9 @@
 // Project Includes

 #include "config-kmymoney.h"
+#ifdef ENABLE_GPG
 #include <kgpgfile.h>
+#endif
 #include <ui_kgpgkeyselectiondlg.h>

 class KGpgKeySelectionDlgPrivate
diff --git a/kmymoney/plugins/xml/xmlstorage.cpp
b/kmymoney/plugins/xml/xmlstorage.cpp
index 492eaf9a7..b8372b5de 100644
--- a/kmymoney/plugins/xml/xmlstorage.cpp
+++ b/kmymoney/plugins/xml/xmlstorage.cpp
@@ -36,7 +36,9 @@

 #include "appinterface.h"
 #include "icons.h"
+#ifdef ENABLE_GPG
 #include "kgpgfile.h"
+#endif
 #include "kgpgkeyselectiondlg.h"
 #include "kmymoneyenums.h"
 #include "kmymoneysettings.h"
diff --git a/kmymoney/widgets/passstore.cpp b/kmymoney/widgets/passstore.cpp
index e60048c93..fd7c16eeb 100644
--- a/kmymoney/widgets/passstore.cpp
+++ b/kmymoney/widgets/passstore.cpp
@@ -24,7 +24,9 @@
 // Project Includes

 #include "icons.h"
+#ifdef ENABLE_GPG
 #include "kgpgfile.h"
+#endif

 using namespace Icons;

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to