environment config combobox dysfunctional in projects' CMake preferences

René J.V. Bertin rjvbertin at gmail.com
Fri Oct 17 16:50:24 BST 2014


Hello,

I recently downgraded from the kde4-legacy branch to KDevelop 4.7/1.7 from git, running on OS X 10.6.8 with kdelibs 4.14.2.
Now I discover that I can no longer set the CMake environment in the project configure dialog. I see the following on the terminal when I try:

Object::connect: No such signal KDevelop::EnvironmentSelectionWidget::currentIndexChanged(int)
Object::connect:  (sender name:   'environment')
kdevelop(27645)/kdeui (KConfigDialogManager) KConfigDialogManager::parseChildren: Don't know how to monitor widget ' KDevelop::EnvironmentSelectionWidget ' for changes! 
QCoreApplication::postEvent: Unexpected null receiver

Yet there are no changes in the files I deem relevant between the 4.7/1.7 and the kde4-legacy branches (using fresh checkouts for comparison).

I have tried to understand what the code does, but cannot seem to grasp how the EnvironmentSelectionWidget inherits KComboBox::currentIndexChanged; indeed, when I try to invoke any KComboBox function through m_prefsUI->environment (in CMakePreferences::CMakePreferences(), in cmakepreferences.cpp) I get compilation errors about missing symbols.
Then again, the same occurs in MakeBuilderPreferences::MakeBuilderPreferences() and yet I can still select an environment preset for the make step.

Help, please?

R.



More information about the KDevelop mailing list