Version: 3.9.97 (using KDevPlatform 0.9.97) (using 4.3.90 (KDE 4.3.90 (KDE 4.4 RC1)), Gentoo) Compiler: x86_64-pc-linux-gnu-gcc OS: Linux (x86_64) release 2.6.32 In the dialog "Setup Custom Include Paths" under "Custom Include Paths" you can write down a list of folders with include files. But it's sometimes hard to write them by hand, I want a button "Open file dialog" to browse folders and select one.
Good idea.
Can someone please suggest which widget can be used for selecting multiple directories?
You don't need that, you can add the folder one-by-one. It's just meant as a helper for specifying those directories. You could use KFileDialog, e.g. 'KFileDialog::getExistingDirectory' for doing this. Patches welcome!
Git commit 6c0410f59ff362e34a28909b44bca7e67c267df3 by Kevin Funk. Committed on 13/02/2014 at 23:07. Pushed by kfunk into branch 'master'. Include path dialog: Integrate folder browser Thanks to Meenakshi Khorana for the initial patch REVIEW: 113815 M +1 -0 languages/cpp/CMakeLists.txt A +96 -0 languages/cpp/codegen/customincludepaths.cpp [License: GPL (v2/3)] A +56 -0 languages/cpp/codegen/customincludepaths.h [License: GPL (v2/3)] M +28 -0 languages/cpp/codegen/ui/custom_include_paths.ui M +24 -34 languages/cpp/codegen/unresolvedincludeassistant.cpp M +2 -0 languages/cpp/tests/CMakeLists.txt http://commits.kde.org/kdevelop/6c0410f59ff362e34a28909b44bca7e67c267df3