Page 1 of 1

I'm unable to see a modification appear in compiled code.

Posted: Sat Dec 20, 2014 6:58 pm
by Markus Baertschi
To scratch my itch with the speed dial and chase subseconds times getting mangled I tried to modify the speed dial a bit to see if I can come up with a proposal for an improvement.

So I got the code from git and hacked the file I think contains the bit of code I wanted to change. I then compile and check the modification out, but qlcplus still has the original implementation and my modification is not there. I slightly modified the mouseover text, so it is unique and would show immediately that my mod is in place. No dice !

I tried 'make clean' and make 'distclean' and it makes no difference !

I'm sure this is something simple and stupid and feel dumb to ask...

Here what git diff says about my code:

diff --git a/ui/src/speeddial.cpp b/ui/src/speeddial.cpp
index 95ddb0e..b60daa3 100644--- a/ui/src/speeddial.cpp
+++ b/ui/src/speeddial.cpp
@@ -158,9 +158,10 @@ SpeedDial::SpeedDial(QWidget* parent)

m_ms = new FocusSpinBox(this);
m_ms->setRange(0, MS_MAX / MS_DIV);
- m_ms->setPrefix(".");
+// m_ms->setPrefix(".");
+ m_ms->setSuffix("0ms");
m_ms->setButtonSymbols(QSpinBox::NoButtons);
- m_ms->setToolTip(tr("Milliseconds"));
+ m_ms->setToolTip(tr("Milli seconds"));
timeHBox->addWidget(m_ms);
connect(m_ms, SIGNAL(valueChanged(int)), this, SLOT(slotMSChanged()));
connect(m_ms, SIGNAL(focusGained()), this, SLOT(slotSpinFocusGained()));

I'm unable to see a modification appear in compiled code.

Posted: Mon Dec 22, 2014 8:32 am
by david garyga
QLC+ is made of several shared libs and one executable.

Your old shared libs are still in use here.

I'm unable to see a modification appear in compiled code.

Posted: Mon Dec 22, 2014 11:50 am
by Markus Baertschi
Yai !

Thanks for the hint.

export LD_LIBRARY_PATH="ui/src;engine/src"

solved my problem. I was certainly using the libraries of the stable qlcplus installed on the same machine.