Skip to content

Unhardcode qwt paths #12

Open
Open
@philip-bl

Description

@philip-bl

Right now qwt paths for network_viewer_qt_v2 are hardcoded like this:

    # src/network_viewer_qt_v2/Network_viewer_qt_v2.pro
INCLUDEPATH += /usr/include/qwt-qt4
DEPENDPATH += /usr/include/qwt-qt4
LIBS += -L/usr/lib \
        -lqwt-qt4 \
        -lnetcdf \
        -lGLU

This does not work on my system. (archlinux, with package qwt5 used for this)
However if I change qwt-qt4 to qwt5, then it works.

Anyway, hardcoding /usr/include is not cool - what if I have qwt build somewhere in my home library?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions