nedrysoft / qt-ribbon

A ribbon bar implementation for Qt widgets applications
GNU General Public License v3.0
112 stars 19 forks source link

How to install #5

Open mstahl3 opened 3 years ago

mstahl3 commented 3 years ago

I am trying to install your plugin on Windows based Qt Creator IDE. When I try to compile it from within Qt Creator I get an error:

C:\Users\Documents\qt-ribbon-master\src\RibbonButton.h:33: error: ThemeSupport: No such file or directory
In file included from Ribbon_autogen/UVLADIE3JM/moc_RibbonButton.cpp:10,
                 from Ribbon_autogen/mocs_compilation.cpp:2:
C:/Users/Documents/qt-ribbon-master/src/RibbonButton.h:33:10: fatal error: ThemeSupport: No such file or directory
 #include <ThemeSupport>
          ^~~~~~~~~~~~~~

How do I fix this? Also, a simple example program using the ribbon would be really great.

fizzyade commented 3 years ago

Hi,

I moved some stuff around a while back and it had the effect of moving out some stuff which this project (and a couple of others) depended on.

However, the themesupport library is here:

https://github.com/nedrysoft/ThemeSupport

I'm really unwell at the moment, so the best I can do is to point you where the code is, if you look at the CMakeLists.txt it should give you a hint on how to get it compiling and linking.