A
A
ADRian2016-02-13 17:00:16
Qt
ADRian, 2016-02-13 17:00:16

Qt Creator. Why doesn't switching to source code in Qt files work?

That is, when I press F4 nothing happens.
Sources in place, near *.h
Qt Creator 3.5.1, Qt 5.5.1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
EXL, 2016-02-13
@ADR

ADRian : It won't switch like that because it's a library file external to the project. Switching works only in pairs: if you create the mainwindow.cpp and mainwindow.h files in your project and press F4 while in mainwindow.cpp, you will be transferred to mainwindow.h and vice versa.
Otherwise, use Alt + <- or Alt + ->
There will be no navigation in qapplication.cpp/qtapplication.h, since it is part of the source code of another project - the Qt library, which is "hidden" from you, use the class documentation. You rarely need to look at the Qt source code, except to look at the implementation of certain algorithms.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question