Re: [Interest] QML window icon

2013-01-29 Thread 1+1=2
Hi, For Windows user, you can create a xxx.rc file which contains the icon file path maunlly, then assign it to the qmake's variable RC_FILE. Or, from Qt5.0.2 on, you can simply assign the icon file path to qmake's variable RC_ICON RC_ICON = a.ico Regards, Debao On Wed, Jan 30, 2013

Re: [Interest] how to define string variable in *.pro based on other string variables?

2013-01-23 Thread 1+1=2
You should use: TSA_LibFullName = $$TSA_LibPath/$${TSA_LibName}.lib because $$TSA_LibName.lib equals to $${TSA_LibName.lib}, which is empty. On Wed, Jan 23, 2013 at 3:59 PM, Mandeep Sandhu mandeepsandhu@gmail.com wrote: On Wed, Jan 23, 2013 at 1:23 PM, Vincent Cai w...@cypress.com

Re: [Interest] QTextEdit is too slow - hints needed

2013-01-14 Thread 1+1=2
Hi, You should use QPlainTextEdit instead of QTextEdit. Regards. On Tue, Jan 15, 2013 at 8:16 AM, JM johnmil...@email.it wrote: Hi all, I am using QTextEdit to display log text files, just like the Unix command tail -f. My current implementation just displays the last 5 lines and then

Re: [Interest] How to add tidy using Qt?

2012-12-27 Thread 1+1=2
On Thu, Dec 27, 2012 at 3:38 PM, 程梁 devb...@outlook.com wrote: Noop, I've done nothing, just code for testing. So they are all in the same function: const char* html = d-visualView-toFormattedHtml().toUtf8().constData(); No, this line is wrong. You should do as Tony told you. TidyBuffer

Re: [Interest] Qt5 beta1 windows - can't get device notifications from a QWindow::winId() via RegisterDeviceNotification

2012-10-17 Thread 1+1=2
On Tue, Oct 16, 2012 at 11:34 AM, Liam Staskawicz lst...@gmail.com wrote: Hi! In Qt5, I have tried the approach above, and do not see any events of type WM_DEVICECHANGE dispatched via QWidget::winEvent(). Hi, a new member which called bool nativeEvent(const QByteArray eventType, void

Re: [Interest] Help, please !!!

2012-04-26 Thread 1+1=2
Hi Nikos Scott, IMO, both of you are right, but you are discussing two different things. Debao On Thu, Apr 26, 2012 at 4:13 PM, Nikos Chantziaras rea...@gmail.com wrote: On 27/04/12 01:48, Scott Aron Bloom wrote: I'm not sure if you're serious or are trolling me for fun.  I *do* have a

Re: [Interest] QML, write, generate and view documentation

2012-04-21 Thread 1+1=2
HI Aekold, See this: http://doc-snapshot.qt-project.org/qdoc/ Debao On Sat, Apr 21, 2012 at 1:17 PM, Aekold Helbrass helbr...@gmail.com wrote: Hi All! Writing my very first project with QtQuick, and have first bunch of questions: 1. In documentation I see comment for every property. C++

Re: [Interest] Standard QKeySequence for Fullscreen (was: Contributor agreement rundown)

2012-04-20 Thread 1+1=2
On Fri, Apr 20, 2012 at 10:37 AM, Till Oliver Knoll till.oliver.kn...@gmail.com wrote: Hey, what about adding it to 4.8.x (without the user setting awareness part, off course)? Its just an additional field to document ;) Cheers, Oliver No, as Rock said, this is not a bugfix, otherwise,

Re: [Interest] qmake -spec win32-msvc2010 generates Makefiles but no project file

2012-03-29 Thread 1+1=2
Hi Sherif, Generated makefiles for nmake or generated vcproj for visual studio, depending on which TEMPLATE you used in your .pro file. app / lib == makefiles vcapp / vclib == .vcproj As Thiago said, the convenient way to do this is add -tp vc to qmake's command line, if you TEMPLATE is app or

Re: [Interest] Is the emit keyword purely cosmetic?

2012-03-20 Thread 1+1=2
Yes, you are right. it's an empty macro. #define emit so, you can write emit emit emit emit someSignal(); too, if you like. On Tue, Mar 20, 2012 at 10:58 AM, Nikos Chantziaras rea...@gmail.com wrote: I noticed that when emitting signals, I can simply omit the emit keyword.  moc seems to

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

2012-03-19 Thread 1+1=2
something very naive or stupid! I'm an embedded hardware and software engineer dealing in bits and bytes most of the time and really struggle with this stuff! Thanks again. On 18/03/12 23:17, 1+1=2 wrote: Hi Robert, I have updated the wiki page: http://code.google.com/p/qextserialport/wiki

Re: [Interest] Qt5 on mingw fails immediately

2012-03-19 Thread 1+1=2
Hi Jason, qt.pro seems broken. You had better build qtbase first, then build other modules one by one. Regards, Debao On Mon, Mar 19, 2012 at 11:30 AM, Jason H scorp...@yahoo.com wrote: I am trying to build Qt 5 for the first time. I get to the make step ok, then I get:

Re: [Interest] Building Qt from Sources

2012-02-21 Thread 1+1=2
Hi Szalata, First, you can run “qmake -v” or which qmake to find which version was used when you call the qmake. If wrong version was called, you can simply using /opt/qt/qt-4.8.0/bin/qmake when you needed qmake. If you still come with problem, given the ERROR message. Regards, Debao On Mon,