Closed CMLDMR closed 1 year ago
Can you give much more detail?
Please rebuild both your application and KDReports in debug mode, so that the backtrace gives us more information.
this is default rebuild cmake options with Qt6 enabled, rest options is default cmake:
Running C:\Qt\Tools\CMake_64\bin\cmake.exe -S H:/C/KDReports/kdreports-2.2.0 -B H:/C/KDReports/build-kdreports-2.2.0-Desktop_Qt_6_3_1_MSVC2022_64bit-Debug in H:\C\KDReports\build-kdreports-2.2.0-Desktop_Qt_6_3_1_MSVC2022_64bit-Debug.
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found WrapVulkanHeaders: C:/VulkanSDK/1.3.224.1/Include
-- Could NOT find KDChart-qt6 (missing: KDChart-qt6_DIR)
-- Building KDReports 2.2.0 in Debug mode. Installing to C:/Program Files (x86)/KDReports
-- KDChart not found. skipping the ChartXML example
-- The following OPTIONAL packages have been found:
-- The following REQUIRED packages have been found:
-- The following OPTIONAL packages have not been found:
-- Configuring done -- Generating done -- Build files have been written to: H:/C/KDReports/build-kdreports-2.2.0-Desktop_Qt_6_3_1_MSVC2022_64bit-Debug Elapsed time: 00:02.
This isn't a backtrace. The first screenshot, but in debug mode, is what we need.
this is debug mode
See the qFatal from Qt, in the QWidget constructor.
Are you creating a QApplication in main()? My guess is that this is what's missing.
Yes Created.
how can I see qFatal in QWidget, is it step by step in debug mode?
"Application Output" tab, no?
yes you are right but QApplication called firstly, can you check it from below github link. it small project
https://github.com/CMLDMR/FaaliyetReporter/tree/on_bilgi_giris
This is clearly not a KDReports problem.
For me to help further, I would have to indeed debug into your application, which isn't something I can do for free.
Please contact info@kdab.com to get a consulting offer.
everything going well until the call showMaximized(), and then crashed.
affected version 2.2.0