ProjectExplorer Nodes: Replace dynamic_cast with as* functions
The OS X linker makes using dynamic_casts across shared object
boundaries fail, so do all casting in the projectexplorer library
and provide functions to do it.
Task-number: QTCREATORBUG-13864
Change-Id: I0e13c0986f8342d83c3b838ffdd2dd7b8312b13c
Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
Showing
- src/plugins/projectexplorer/projectexplorer.cpp 17 additions, 10 deletionssrc/plugins/projectexplorer/projectexplorer.cpp
- src/plugins/projectexplorer/projectmodels.cpp 14 additions, 14 deletionssrc/plugins/projectexplorer/projectmodels.cpp
- src/plugins/projectexplorer/projectnodes.cpp 40 additions, 0 deletionssrc/plugins/projectexplorer/projectnodes.cpp
- src/plugins/projectexplorer/projectnodes.h 13 additions, 0 deletionssrc/plugins/projectexplorer/projectnodes.h
- src/plugins/projectexplorer/projecttree.cpp 6 additions, 5 deletionssrc/plugins/projectexplorer/projecttree.cpp
- src/plugins/projectexplorer/session.cpp 1 addition, 1 deletionsrc/plugins/projectexplorer/session.cpp
- src/plugins/qmakeprojectmanager/qmakenodes.cpp 2 additions, 2 deletionssrc/plugins/qmakeprojectmanager/qmakenodes.cpp
- src/plugins/qmakeprojectmanager/qmakeprojectmanager.cpp 2 additions, 1 deletionsrc/plugins/qmakeprojectmanager/qmakeprojectmanager.cpp
- src/plugins/qmakeprojectmanager/qmakeprojectmanagerplugin.cpp 1 addition, 1 deletion...plugins/qmakeprojectmanager/qmakeprojectmanagerplugin.cpp
- src/shared/qbs 1 addition, 1 deletionsrc/shared/qbs
Loading
Please register or sign in to comment