Re: [Interest] Qt undefined reference to `LED::LED(QWidget*)' LED in a custom widget

2016-03-10 Thread Robert Wood
appreciate someone pointing out what salient information I'm missing! Thanks! On 10/03/16 18:15, Robert Wood wrote: Hi folks, I have downloaded this project: http://www.ics.com/blog/integrating-custom-widget-qt-designer And installed it by running qmake, make, make install (the latter as root

[Interest] Qt undefined reference to `LED::LED(QWidget*)' LED in a custom widget

2016-03-10 Thread Robert Wood
Hi folks, I have downloaded this project: http://www.ics.com/blog/integrating-custom-widget-qt-designer And installed it by running qmake, make, make install (the latter as root) in the directory the source code was copied to. This then put the custom widget in Qt Designer and allowed me

Re: [Interest] Simple UDP listener question

2014-07-02 Thread Robert Wood
have to and so this issue raises its ugly head. On 23/06/14 13:03, Robert Wood wrote: Folks, I've managed to get a simple program going that sends out a UDP packet to a broadcast address (an Artnet Poll packet) and my embedded software is receiving this and sending out a Poll reply. Wireshark

[Interest] Telling which QTableWidgetItem was changed?

2014-07-01 Thread Robert Wood
Folks, I have a dynamically created table; whenever I add a new row, I do this: QCheckBox *cb = new QCheckBox(); ui-innoLEDListTable-setCellWidget(row,0,cb); connect(cb,SIGNAL(clicked()),this,SLOT(tableItemClicked())); Now this works fine in that whenever I click a check box

Re: [Interest] Telling which QTableWidgetItem was changed?

2014-07-01 Thread Robert Wood
by the item's text (as long as you give it a unique text. On 01/07/14 11:26, Robert Wood wrote: Folks, I have a dynamically created table; whenever I add a new row, I do this: QCheckBox *cb = new QCheckBox(); ui-innoLEDListTable-setCellWidget(row,0,cb); connect(cb,SIGNAL(clicked

Re: [Interest] Simple UDP listener question

2014-06-24 Thread Robert Wood
: 6454 (6454), Dst Port: 6454 (6454) I've tried changing the port to 123 to capture incoming NTP packets which, again, Wireshark says are present, but to no avail. Thanks, Rob On 23/06/14 23:45, Bob Hood wrote: On 6/23/2014 4:27 PM, Robert Wood wrote: It can't be a randomly allocated port

Re: [Interest] Simple UDP listener question

2014-06-24 Thread Robert Wood
Hi Rainer, It says this: udp0 0 0.0.0.0:64540.0.0.0:* If I stop my app, that disappears, if I change it to listen on 192.168.0.18 by changing this line: udpSocRec-bind(QHostAddress(192.168.0.18), 6454); I get this: udp0 0 192.168.0.18:6454

Re: [Interest] Simple UDP listener question

2014-06-24 Thread Robert Wood
Robert Wood: It says this: udp0 0 0.0.0.0:64540.0.0.0:* If I stop my app, that disappears, [...] Ok, so your app can create the socket. Just to make sure: You _are_ running an event loop (Q{Core,}Application::exec())!? Best Regards / Mit freundlichen Grüßen Rainer

Re: [Interest] Simple UDP listener question

2014-06-24 Thread Robert Wood
after all that. :~( Thanks for all help and suggestions. On 24/06/14 12:17, Rainer Wiesenfarth wrote: Am 24.06.2014 13:02, schrieb Robert Wood: It says this: udp0 0 0.0.0.0:64540.0.0.0:* If I stop my app, that disappears, [...] Ok, so your app can create

[Interest] Simple UDP listener question

2014-06-23 Thread Robert Wood
Folks, I've managed to get a simple program going that sends out a UDP packet to a broadcast address (an Artnet Poll packet) and my embedded software is receiving this and sending out a Poll reply. Wireshark confirms that my embedded device is sending out the correct response, however, my Qt

Re: [Interest] Simple UDP listener question

2014-06-23 Thread Robert Wood
+tom.isaacson=navico@qt-project.org] On Behalf Of Robert Wood Sent: Tuesday, 24 June 2014 12:03 a.m. To: interest@qt-project.org Subject: [Interest] Simple UDP listener question Folks, I've managed to get a simple program going that sends out a UDP packet to a broadcast address (an Artnet

Re: [Interest] Simple UDP listener question

2014-06-23 Thread Robert Wood
as long as you use sendto( ) calls. On 6/23/2014 1:45 PM, Ian Monroe wrote: On Mon, Jun 23, 2014 at 10:41 AM, Robert Wood robert.w...@apostrophe.co.uk wrote: The QHostAddress(192.168.0.18) should be the IP address of my computer shouldn't it? I'm not really clear why this is necessary as I would

Re: [Interest] Simple UDP listener question

2014-06-23 Thread Robert Wood
, but I just can't see what. On 23/06/14 19:37, Thiago Macieira wrote: Em seg 23 jun 2014, às 19:21:21, Robert Wood escreveu: There does seem to be a sendTo() function within the class. If I don't bind it and use writeDatagram it doesn't send anything out. writeDatagram() takes a destination

Re: [Interest] Simple UDP listener question

2014-06-23 Thread Robert Wood
It can't be a randomly allocated port though, it has to be port 6454. On 23/06/14 20:33, Thiago Macieira wrote: Em seg 23 jun 2014, às 19:50:44, Robert Wood escreveu: Sorry, I meant to write there does *not( seem to be a sendTo() function. Writing out with writeDatagram() works just fine

Re: [Interest] :-1: error: cannot find -lrwlineeditplugin

2014-01-20 Thread Robert Wood
FWIW - just in case it helps someone in future, this turned out to be a permissions thing. For some reason, and I can't work out why, it was compiling the plug in with root permission only. Once I gave everyone access it worked. On 16/01/14 10:02, Robert Wood wrote: Folks, I've been using

[Interest] :-1: error: cannot find -lrwlineeditplugin

2014-01-16 Thread Robert Wood
Folks, I've been using my custom plugin for a few years thought Qt4 and now Qt5. I always copy my files like this on a new installation: cp ~robertw/Software/Qt4/customWidgets/rwTextEdit/librwtexteditplugin.so /usr/lib cp ~robertw/Software/Qt4/customWidgets/rwTextEdit/rwtextedit.h

Re: [Interest] unknown module(s) in qt: designer with Qt5 (compiled in Qt4)

2013-06-01 Thread Robert Wood
Turns out it was a Mageia problem. The designer devel headers had not been installed. The installer must have dependencies missing. On 31/05/13 23:35, Robert Wood wrote: It's Mageia 3. On 31/05/13 17:07, Robert Wood wrote: Folks, Am starting off using Qt5, as my Linux distribution has now

[Interest] unknown module(s) in qt: designer with Qt5 (compiled in Qt4)

2013-05-31 Thread Robert Wood
Folks, Am starting off using Qt5, as my Linux distribution has now started packaging Qt Creator based on Qt 5.0.2. I have managed to get rid of most of the errors on my first project, but am stuck on: unknown module(s) in qt: designer I have had a look at the analogue clock example and have

Re: [Interest] unknown module(s) in qt: designer with Qt5 (compiled in Qt4)

2013-05-31 Thread Robert Wood
It's Mageia 3. On 31/05/13 17:07, Robert Wood wrote: Folks, Am starting off using Qt5, as my Linux distribution has now started packaging Qt Creator based on Qt 5.0.2. I have managed to get rid of most of the errors on my first project, but am stuck on: unknown module(s) in qt: designer

Re: [Interest] Combine PDF files into a single PDF File

2013-03-28 Thread Robert Wood
Don't know about specifically with Qt, but you can use the command line tool pdfkt in the following way: pdftk *.pdf cat output concatenated.pdf You end up with a file called concatenated.pdf You can do other tricks. You can run that from Qt I am sure and end up with what you want. It's in

[Interest] Access forms from an called class?

2013-03-04 Thread Robert Wood
I have my main window which accesses its form. I have another (non-GUI) class I have written that takes BTLE messages in and decodes them. This blte_commands class is called from MainWindow and works out what the message is and what to do with it. I would then like to change values back on the

Re: [Interest] Access forms from an called class?

2013-03-04 Thread Robert Wood
OK, I did that and I finally got the btle class returning the data. I must say though, I am not at all convinced this is a great way of doing it, because now I'll have a couple of hundred routines in the main class that deal with decoding each message that's passed back. I can't pass a generic

Re: [Interest] Breakpoints stopped working with latest version on Linux

2012-12-13 Thread Robert Wood
Hmmm, many apologies. After spending an hour or so on this I finally decided to clean and rebuild and it has now worked. On 13/12/12 11:08, Robert Wood wrote: Folks, My breakpoints have stopped working and I'm getting this message: warning: GDB: Failed to set controlling terminal: Invalid

Re: [Interest] Suddenly can't access sql database

2012-08-04 Thread Robert Wood
Lange. On 03-08-2012 20:24, Robert Wood wrote: I have a Qt program I use for talking to my sql database which has been working for about three years through various versions of [Mandriva/Mageia] Linux. Today, on my desktop only, it has suddenly stopped working. Fortunately it still works on my

[Interest] Suddenly can't access sql database

2012-08-03 Thread Robert Wood
I have a Qt program I use for talking to my sql database which has been working for about three years through various versions of [Mandriva/Mageia] Linux. Today, on my desktop only, it has suddenly stopped working. Fortunately it still works on my laptop so I can at least access it to get at

Re: [Interest] error: taking address of temporary [-fpermissive]

2012-06-01 Thread Robert Wood
Adding QMAKE_CXXFLAGS=-fpermissive in additional arguments in the projects tab does the trick. I'd like to know why there is the change and how to fix it properly though. An example of a rogue lines is this: queryString += \ + sqlFormatString(ui-dateInDateEdit-date()) + \,; The routine is

Re: [Interest] How do I use qextserialport as a library?

2012-03-19 Thread Robert Wood
platform way. Hope this can help you. If this is still refuse to work,feel free to report bugs. Regards, Debao On Sun, Mar 18, 2012 at 9:52 AM, Robert Wood robert.w...@apostrophe.co.uk wrote: \Folks, I've used qextserialport many times, but always included the source code in the my project

[Interest] How do I use qextserialport as a library?

2012-03-18 Thread Robert Wood
\Folks, I've used qextserialport many times, but always included the source code in the my project. However, the it says it's better to use it as a library and it would be nice not to include all those source files each time. However, I can't work out how to do this. I've downloaded the