Re: [Interest] ThreadedFortune example extending to send message forever

2016-09-10 Thread Nilesh Kokane
On Tue, Sep 6, 2016 at 4:23 PM, Konstantin Shegunov wrote: > On Mon, Sep 5, 2016 at 7:17 PM, Nilesh Kokane >> In the original example, How does disconnectFromHost() triggers >> readyRead signal? > > > You're blocking the event loop for the thread, so no queued sl

Re: [Interest] ThreadedFortune example extending to send message forever

2016-09-05 Thread Nilesh Kokane
at is to > prevent late packets from the old connection to >be falsely passed to the new > connection. After 2 minutes, such packets must have timed out and be dropped, > so > the same combination can be reused safely. I see. -- Nilesh Kokane __

[Interest] ThreadedFortune example extending to send message forever

2016-09-03 Thread Nilesh Kokane
} QByteArray block; QDataStream out(&block, QIODevice::WriteOnly); out.setVersion(QDataStream::Qt_4_0); out << temp_text; //! [3] //! [4] tcpSocket.write(block); tcpSocket.disconnectFromHost(); tcpSocket.waitForDisconnect

Re: [Interest] FortuneServer/client doesnt work across 2 different Devices

2016-09-02 Thread Nilesh Kokane
erver name: 176.58.122.118 > Server port: 42815 Oops, this is working. So there is something wrong with the local setup here. let me fix that first. Thanks for your help. -- Nilesh Kokane ___ Interest mailing list Interest@qt-project.or

Re: [Interest] FortuneServer/client doesnt work across 2 different Devices

2016-09-02 Thread Nilesh Kokane
ess is 192.168.0.1 . And i don't use wired. I'm really bewildered as a simple example doesn't work. Whats wrong? -- Nilesh Kokane ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] FortuneServer/client doesnt work across 2 different Devices

2016-09-02 Thread Nilesh Kokane
On Fri, Sep 2, 2016 at 7:20 PM, Reinhardt Behm wrote: > On Friday 02 September 2016 19:10:41 Nilesh Kokane wrote: >> Hello, >> >> I'm trying to run fortuneServer(qt example) on my host PC and deploy >> fortuneclient on the android phone. I made sure that they are

[Interest] FortuneServer/client doesnt work across 2 different Devices

2016-09-02 Thread Nilesh Kokane
ssing something? Any clue? -- Nilesh Kokane ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QQueue::enqueue hangs in QList::append

2016-08-08 Thread Nilesh Kokane
On Aug 8, 2016 9:06 PM, "Thiago Macieira" wrote: > > On segunda-feira, 8 de agosto de 2016 20:11:38 PDT Nilesh Kokane wrote: > > Hello, > > > > I've a QQueue designed for threadsafe as[1]. I push to the QQueue from > > one thread and pop from

[Interest] QQueue::enqueue hangs in QList::append

2016-08-08 Thread Nilesh Kokane
Hello, I've a QQueue designed for threadsafe as[1]. I push to the QQueue from one thread and pop from the other. After several attempts it hangs in QList::append near node_construct(n, t). [1]. https://paste.kde.org/p85706xzb Any clue? -- Nilesh K

Re: [Interest] Error : QImage: out of memory,

2016-08-01 Thread Nilesh Kokane
ou are right. -- Nilesh Kokane ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Error : QImage: out of memory,

2016-08-01 Thread Nilesh Kokane
ec. > What is you platform? How much memory you platform has? Windows 7. 8 GB Ram -- Nilesh Kokane ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Error : QImage: out of memory,

2016-08-01 Thread Nilesh Kokane
delete[] cdata; Yep. This happens when I repeatedly call the function for 10 minutes approx. -- Nilesh Kokane - nilesh.kokane05 (AT) gmail.com Nilesh Kokane - nilesh.kokane05 (AT) gmail.com ___ Interest mailing list Interest@qt-project.org http

[Interest] Error : QImage: out of memory,

2016-08-01 Thread Nilesh Kokane
mage); ui->amplImage->setPixmap(tempImage); } -- Nilesh Kokane ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] ThreadSafeQueue class deadlocks after consumer acquire

2016-07-30 Thread Nilesh Kokane
m_queue.dequeue(); producer.release(); return i; } private: QQueue m_queue; QMutex m_mutex; }; The push function is called for 1000 times though. Any clue? -- Nilesh Kokane ___ Interest mailing list Interest@qt-pro

Re: [Interest] Error: /opt/qt-5.5.0/lib/libQt5*: undefined reference

2016-03-08 Thread Nilesh Kokane
; The order of the paths in -rpath-link is wrong. You need the one with the most > recent libraries to show up first. env PATH didn't help to change the -rpath-link sequence /usr still precedes /opt. Is there a way to change the sequence?

[Interest] Error: /opt/qt-5.5.0/lib/libQt5*: undefined reference

2016-03-07 Thread Nilesh Kokane
etects Qt 5.5.0 but throws warning as below: runtime library [libQt5Widgets.so.5] in /usr/lib/i386-linux-gnu may be hidden by files in:/opt/qt-5.5.0/lib Am I missing something? Nilesh Kokane ___ Interest mailing list Inte

Re: [Interest] Error-const class QSerialPortInfo' has no member named 'serialNumber'

2015-01-30 Thread Nilesh Kokane
Hi Thiago, Thanks for your reply. On Fri, Jan 30, 2015 at 2:34 PM, Thiago Macieira wrote: > On Friday 30 January 2015 11:51:52 Nilesh Kokane wrote: > > Hi, > > > > I tried to cross-compile terminal code (example )for arm and getting the > > error as : ‘const class QS

[Interest] Error-const class QSerialPortInfo' has no member named 'serialNumber'

2015-01-29 Thread Nilesh Kokane
please point out where I'm wrong. -- Br Nilesh Kokane ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Accessing Qbytearray of C++ in QML

2014-11-21 Thread Nilesh Kokane
Hi Alejandro, Thanks for your suggestion. I made it all working with the string. On Fri, Nov 21, 2014 at 3:54 PM, Alejandro Exojo wrote: > El Friday 21 November 2014, Nilesh Kokane escribió: > > Hi, > > > > I'm accessing the Qbytearray from c++ in the qml code a

[Interest] Accessing Qbytearray of C++ in QML

2014-11-21 Thread Nilesh Kokane
Hi, I'm accessing the Qbytearray from c++ in the qml code and assigning it to a property real ,but getting error while run as *qrc:///main.qml:65: Error: Cannot assign [undefined] to double*. I've registered the c++ class in the main by qmlRegisterType("serial", 1, 0, "serialdata"); and importe

Re: [Interest] qt giving the ld error

2014-08-08 Thread Nilesh Kokane
ots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++ The warning and the ld errors is still popped . can you please suggest. Thanks Nilesh Kokane -- “The contents of this e-mail message and any attachments are confidential and are intended solely for addressee. Th

Re: [Interest] qt giving the ld error

2014-08-07 Thread Nilesh Kokane
-poky-linux-gnueabi-g++) in qt mkspec. But, its popping out warning symbol On Fri, Aug 8, 2014 at 12:17 PM, Ch'Gans wrote: > > > On 08/08/14 18:16, Nilesh Kokane wrote: > >> Hi Christiab, >> >> [...] > > >> Or set the full path to your cro

Re: [Interest] qt giving the ld error

2014-08-07 Thread Nilesh Kokane
can you please suggest Thanks Nilesh kokane On Fri, Aug 8, 2014 at 10:50 AM, Christian Gagneraud wrote: > On 8/08/2014 4:25 p.m., Nilesh Kokane wrote: > > Hi , > > > > Based on the url > > > http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wand

[Interest] qt giving the ld error

2014-08-07 Thread Nilesh Kokane
that the set up in the Configure Qt creators OK , but its still giving the error. can you suggest me for that. -- Thanks Nilesh Kokane -- “The contents of this e-mail message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged.

[Interest] Qt on Wandboard-solo with Yocto -Problem

2014-08-04 Thread Nilesh Kokane
ors as posted http://pastebin.com/V2fMF785 Please suggest to resolve this issue. Thanks Nilesh Kokane -- “The contents of this e-mail message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent