https://bugs.kde.org/show_bug.cgi?id=386407

--- Comment #2 from Sandro Knauß <skna...@kde.org> ---
I used project->Open/Import Project and selected the CMakeLists.txt.

Maybe also a good information: other files in the same project are correctly
analyzed. The header file messagepart.h looks corrercly analized from the
colors, but it complains about missing mimetreeparser/util.h,
mimetreeparser/bodypartformatter.h, mimetreeparser_export.h.

The build directory is correct - this is the one I build the software
successfully.

I use a neon docker container for kdevelop and building.

a funny side thing, in messagepart.cpp the include of mimetreeparser_debug.h is
successfull but at an other file (nodehelper.cpp) in the same directory the
analyzer complains about missing  mimetreeparser_debug.h.

the CMakeLists.txt part:
set(libmimetreeparser_SRCS
    messagepart.cpp
    nodehelper.cpp
    [...]
   )

add_library(KF5MimeTreeParser
    ${libmimetreeparser_SRCS}
    )

generate_export_header(KF5MimeTreeParser BASE_NAME mimetreeparser)
add_library(KF5::MimeTreeParser ALIAS KF5MimeTreeParser)

set(mimetreeparser_LINK_LIBRARIES
   )

target_link_libraries(KF5MimeTreeParser
    PRIVATE
    QGpgme
    KF5::Codecs
    KF5::I18n
    KF5::CoreAddons
    KF5::Mime
    Qt5::Gui
    )

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to