It seems to work for me. I'm running on ubuntu 12.04, which has an older
libconfig version, and had to make a minor modification to make it build.
The patch is attached. The solution is probably to move forward, but I do
not know what your long-term goals are. The most recent ubuntu LTS and
Debian Squeeze both ship with the older libconfig.
-M
On Sat, Nov 9, 2013 at 1:16 AM, PCMan <pcman...@gmail.com> wrote:
> Hello,
> I just finished a new tool, compton-conf, for lxde-qt.
> It's a GUI configuration tool for X composite manager compton.
> https://github.com/chjj/compton
>
> Before using this, compton needs to be running with dbus support.
> > compton --dbus
>
> Then, we can edit the options of compton with compton-conf and apply them
> on-the-fly.
> Before the world if full of wayland stuff, X11 and openbox will live for
> quite a while. So we have a composite manager.
> Existing options are xcompmgr, xcompmgr-dana, and compton.
> Of the three compton is the most actively developed and it added many new
> features to the forked xcompmgr code, including a dbus interface.
> I'd suggest that we can launch compton by default in our desktop session.
> Or, alternatively, turn it off by default and provide an option in
> lxqt-config to turn it on.
> Please try the config tool.
>
> Cheers!
>
>
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models.
> Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and
> register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> Lxde-list mailing list
> Lxde-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxde-list
>
>
diff --git a/maindialog.cpp b/maindialog.cpp
index 5129a0c..1479594 100644
--- a/maindialog.cpp
+++ b/maindialog.cpp
@@ -90,7 +90,11 @@ MainDialog::MainDialog(QString userConfigFile) {
connect(child, SIGNAL(valueChanged(double)),
SLOT(onSpinValueChanged(double)));
}
else if(child->inherits("QSpinBox")) {
+#if (((LIBCONFIG_VER_MAJOR == 1) && (LIBCONFIG_VER_MINOR >= 4)) ||
(LIBCONFIG_VER_MAJOR > 1))
int val;
+#else
+ long val;
+#endif
if(config_lookup_int(&config_, keyName.constData(), &val) == CONFIG_TRUE)
static_cast<QSpinBox*>(child)->setValue(val);
connect(child, SIGNAL(valueChanged(int)), SLOT(onSpinValueChanged(int)));
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list