Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhardcode qwt paths #12

Open
philip-bl opened this issue Oct 5, 2016 · 2 comments
Open

Unhardcode qwt paths #12

philip-bl opened this issue Oct 5, 2016 · 2 comments

Comments

@philip-bl
Copy link
Contributor

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?

@asalnikov
Copy link
Contributor

Philip, what file contains this record? Probably it is a part of automatically generated Makefile.

@philip-bl
Copy link
Contributor Author

Judging from what I've written, it's src/network_viewer_qt_v2/Network_viewer_qt_v2.pro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants