This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Go to Slot and QT Webview KDevelop

Tags: None
(comma "," separated)
leonardomoura
Registered Member
Posts
1
Karma
0

Go to Slot and QT Webview KDevelop

Fri Aug 24, 2018 11:48 am
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 .
Image

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
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
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.
piotrm
Registered Member
Posts
13
Karma
0
OS
leonardomoura wrote:... also i have a problem when i try to build the project i'm receiving the message : no module found ( WebView)


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).
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
.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.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]