Get Involved/development/IDE configuration/Qt Creator: Difference between revisions

From KDE Community Wiki
(Start of page)
 
(Use link to moved page)
Tag: Replaced
 
(41 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Qt Creator is an IDE from Qt.
Moved to https://develop.kde.org/docs/getting-started/building/ide/qt-creator/
 
==Qt Creator and kdesrc-build==
 
After you configure kdesrc-build and you can correctly build a KDE projects such as kcalc.
 
Edit ~/.config/kdesrc-buildrc . It should look like:
 
global
...                                                                                                   
    include-dependencies true
...                                                                                                             
    kdedir ~/kde/usr
...                                                                                                             
    source-dir ~/kde/src
...                                                                                                               
    build-dir ~/kde/build
...                                                                               
    cmake-options -DCMAKE_BUILD_TYPE=Debug
 
The line above is important in order to use the debugger from Qt Creator.
 
Make sure you have the correct number on the line "num-cores ".
 
Build kcalc, make sure there are no errors:
kdesrc-build --include-dependencies kcalc
 
E.g. install Qt Creator from your current Linux distro's packages. E.g. apt install qtcreator.
 
Start Qt Creator. E.g. from a terminal
qtcreator &

Latest revision as of 17:33, 18 April 2024