Our viewer crashes when we drag a data node from the data manager and drop it on a QmitkRenderWindow.
This happens on 64 bit windows. The app was built with VS2012.
The bug is in QmitkDataStorageTreeModel.cpp and QmitkRenderWindow.cpp. The data node pointers are converted to void* then to long, then the long values are concatenated to a string, with comma delimiter. The QmitkRenderWindow restores the pointers from the string when it processes the QDropEvent.
On this platform, however, sizeof(void*) is 8 and sizeof(long) is 4, and some significant bits are lost during the conversion.
The solution is to use unsigned long everywhere.
I will send a pull request that fixes the problem in the two classes I mentioned. You might want to check if a drop event is constructed or processed at other places in MITK.