Hej,
jako że CODEBLOCKs pod Linuxem mi się często wysypuje szukałem innego IDE i postanowiłem sprawdzić KDevelop. Po instalacji pojawia się jednak problem z czymś takim- tutaj pozwolę sobie wkleić instrukcję:
Make sure the project is configured to install to the directory of your choice:
In KDevelop, select the menu entry "Project" > "Open Configuration...", then in the dialog choose the tab "CMake", there select in the "Cache Values" list the entry with the name CMAKE_INSTALL_PREFIX and ensure the correct path is set.-JA MAM TUTAJ COŚ TAKIEGO /usr/local - nie wiem czy tak powinno być, wszystko jest domyślnie.
If you install to a custom directory, you need to extend the QT_PLUGIN_PATH environment variable that KDevelop sees when it is started. The path to be added is the "plugins" subdir, whose exact path depends on the operating system and if that is a 64 bit or 32 bit one. On Debian, Ubuntu & similar with a 64 bit system add: $my_install_prefix/lib/x86_64-linux-gnu/plugins On openSUSE & similar with a 64 bit system add: $my_install_prefix/lib64/plugins (where $my_install_prefix is the directory CMAKE_INSTALL_PREFIX is set to)
If you are unsure, check in the installation log the path to which the plugin is installed.
Example: When CMAKE_INSTALL_PREFIX is set to "/home/userX/projects/mykdevplugin/" and this is a Debian 64-bit system, open a console and enter:
export QT_PLUGIN_PATH=$QT_PLUGIN_PATH:/home/userX/projects/mykdevplugin/lib/x86_64-linux-gnu/plugins
Then start KDevelop from that console:
kdevelop
If everything went well, you should see "Hello world, my plugin is loaded!" printed in the console and find the plugin also listed in the dialog opened by the menu entry "Help" > "Loaded Plugins".
Nie wiem czy ja to dobrze rozumiem- w terminalu wklejam u siebie (mam Ubuntu 64bit):
export QT_PLUGIN_PATH=$QT_PLUGIN_PATH:/usr/local/lib/x86_64-linux-gnu/plugins
daje enter i wpisuje:
kdevelop
enter,
ale dalej nie działa...
Myślę że mój angielski nie jest najgorszy, ale może ja coś tu źle rozumiem. Czy może ktoś z was wytłumaczyć mi co dokładnie powinienem, krok po kroku, zrobić aby program zaczął działać.
Pozdrawiam,