0

I'm working on developing a Qt/C++ application for Linux distros which has a module which deals with icon overlays. I need icon overlays exactly like in svn or dropbox. First I'm starting with GNOME environment.

I found that I need to access APIs provided by nautilus, for example for icon overlay, I need to use the API - nautilus_file_info_add_emblem() which is part of nautilus-file-info

Link - https://developer.gnome.org/libnautilus-extension/stable/libnautilus-extension-nautilus-file-info.html

How do I access the nautilus file managers' headers in my Qt/C++ project ?

Thank you.

1 Answer 1

0

You need to edit the *.pro file,

Then use INCLUDEPATH += ... to set header paths,

And LIBS += ... to add extra libraries

See here to learn about qmake flags.

2
  • Yep, I got that. But I'm looking for which lib to add at LIBS & the path to be added at INCLUDEPATH. Thanks for your response.
    – r18ul
    Apr 3, 2014 at 7:35
  • @Rahul see pkg-config for help
    – daisy
    Apr 3, 2014 at 7:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .