[Interest] notarizing builds for Mac - enabling hardened runtime

2019-06-20 Thread Hamish Moffatt
Apple says that all apps will need to be notarized (viewed) by them to be run on macOS 10.15 once released. Apps must have the hardened runtime enabled in Xcode before they can be notarized. Is there any way to get qmake to enable that project option? Hamish ___

Re: [Interest] Problem with cv::Mat grayscale to QImage

2019-06-20 Thread René Hansen
You might need to set the bytesPerLine of the QImage to match the step of cv::Mat. I seem to recall having a similar issue once, converting between a four and three bytes per pixel formats, e.g. if the cv::Mat is in CV_8UC4. /René On Thu, 20 Jun 2019 at 23:05, Jason H wrote: > Simple code: > >

[Interest] Problem with cv::Mat grayscale to QImage

2019-06-20 Thread Jason H
Simple code: cv::Mat left_image = cv::imread(filename, cv::IMREAD_COLOR ); cv::cvtColor(mat, mat, cv::COLOR_BGR2GRAY); cv::imwrite("dummy_gray_cv.png", left_image); // ok QImage test((unsigned char*) left_image.data, left_image.cols, left_image.rows, QImage::Format_Grayscale8); test.save("dummy_g

[Interest] android: how to check if java native method is defined?

2019-06-20 Thread Alexander Dyagilev
Hello, I have a broadcast receiver registered in manifest. It executes native method. The problem that if the main activity is not running, i'm getting zygote  : No implementation found error and my app crashes. Is there a way to check if native method is defined. I would like to just not d