Studio crashes on MacOS 10.6
Created by: vaussard
When compiling studio (master branch) on a MacOS 10.6, I get the following error before studio crashes:
QWidget: Must construct a QApplication before a QPaintDevice
Doing a debug with gdb leads to the line DashelTarget.cpp:242 (targetSelector.exec()). This is the first dialog to be shown, but doesn't seem to be the problem.
Doing git bisect lead to the VPL plugin. Unfortunately, I _high_ number of commits do not compile, so I am unable to pinpoint the faulty commit. Commit d9ea1e58 is good, commit 6dcf41d8 is bad. The 7 commits in-between do not compile.
Searching for this problem on Google seem related to the use of QWidget inside a static member, which may be initialized before the QApplication, hence before the paint device. This is currently the case in the plugin system, and I worry if this triggers the crashes.
I am unfortunately unable to debug more for now. Could someone test on another Mac?