Registered Member
|
Hi guys i'm totaly newbie with Kdevelop, QT ....
So, i was following a tutorial using QT Creator. and i tried to make it with KDevelop, But i can't to find the option Go to slot . also i have a problem when i try to build the project i'm receiving the message : no module found ( WebView) If you following this tutorial ,you'll understant my problem ... about https://www.youtube.com/watch?v=j1FQ0IsLpEg thanks in advance |
Global Moderator
|
In general you cannot take a tutorial for one application and 1:1 replicate it in another. KDevelop's layout and feature set is rather different from what QtCreator has, the applications are not clones of each other.
This particular menu entry doesn't exist in KDevelop, since it does not have Qt Designer integration.
I'm working on the KDevelop IDE.
|
Registered Member
|
The simplest reason could be because in your system is missing package related with QWebView. I case of GNU/Linux. For example in Arch (and all based, like Antergos) is present package calling "qt5-webview". So if you are trying to program in GNU/Linux, just try to find similar package in distribution you use. And about "go to Slot" In KDevelop you can go to slot definition in different way. Slots declaration usual should be in header file in section "private/public slots:". If you need to jump to slot definition you should hover your mouse over name and press and hold Ctrl key, after that just click left button ( or use Ctrl+, ). In the same way you can jump to any other definition of method your class. I think that KDevelop should be able to open project created in QtCreator (based on ".pro" file), but recommended is use cmake project type (also QtCreator support it). |
Global Moderator
|
.pro files are actually projects using the qmake build system (which is not specifically related to QtCreator), and yes as you said, KDevelop also supports qmake.
I'm working on the KDevelop IDE.
|
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]