Re: [Interest] What is the right way to make a cpu monitor like animation in QML?

2013-06-03 Thread Pasion Jerome
Hello, The snippets in the Custom Geometry page are fixed for 5.1: http://doc-snapshot.qt-project.org/qt5-stable/qtquick/scenegraph-customgeometry.html Feel free to file a bug if there are other issues in the documentation. Jerome P. Documentation Engineer - Digia, Qt

[Interest] QBS automoc

2013-06-03 Thread Иван Комиссаров
Guys? Does anyone know? Иван Комиссаров 02.06.2013, в 3:21, Иван Комиссаров abba...@gmail.com написал(а): Hello, how do i enable automocing with qbs? I'm have a cpp file (qcolorbutton.cpp), which includes moc file: #include qcolorbutton.moc However, qbs ignores that line and generates

Re: [Interest] QBS automoc

2013-06-03 Thread Joerg Bornemann
Hi Ivan, For qbs questions we have this mailing list: http://lists.qt-project.org/mailman/listinfo/qbs Hello, how do i enable automocing with qbs? It is automatically enabled once your product depends on a Qt module. I'm have a cpp file (qcolorbutton.cpp), which includes moc file: #include

Re: [Interest] What is the right way to make a cpu monitor like animation in QML?

2013-06-03 Thread Mark
Hi, That's nice! Thank you very much for giving me that pointer. Regards, Mark On Mon, Jun 3, 2013 at 1:55 PM, Pasion Jerome jerome.pas...@digia.com wrote: Hello, The snippets in the Custom Geometry page are fixed for 5.1:

[Interest] QtMultimedia examples don't play video on all systems?

2013-06-03 Thread Nikos Chantziaras
I've built the video examples that come with the 5.1.0 beta (videowidget and player). They are unable to play video when running the *.exe in a VMWare environment running XP and 7. It works fine on a native Windows 7 environment with the NVidia drivers installed. The same videos play just

[Interest] Getting QTextDocument page break positions

2013-06-03 Thread Joshua Grauman
Hello all, I have a QTextEdit/QTextDocument that I want to print. I call document()-setPageSize(QSizeF(pageWidth,pageHeight)); to set the page size and can print it fine. I have some custom drawing I need to do though and so I need to have a reliable way to see where QTextDocument did the

Re: [Interest] Target machine not set in projects generated by qmake for Visual Studio

2013-06-03 Thread Ben Swerts
Hi Everybody! When I build my Qt 4.8.4 projects on Windows 7, I always get this warning: LINK : warning LNK4068: /MACHINE not specified; defaulting to X86 and later: project_name - 0 error(s), 1 warning(s) which sucks. I have tried changing

Re: [Interest] Long menus on Windows

2013-06-03 Thread Alex Malyushytskyy
I will try to recall what I did once. Instantiate and add subclass of QWidgetAction to the menu. Such subclass had to instantiate your widget (better not to derive it from dialog). To do this override createWidget. Such widget can be any complex or simple widget. If not mistaken I had explicitly

Re: [Interest] Target machine not set in projects generated by qmake for Visual Studio

2013-06-03 Thread Tony Rietwyk
Thanks Ben, that was the clue I was looking for. Tony Hi Tony, This is how I modified the .pro files of my projects: win32 { contains(QMAKE_HOST.arch, x86_64) { QMAKE_LFLAGS += /MACHINE:X64 } else { QMAKE_LFLAGS += /MACHINE:X86 } } IIRC this

Re: [Interest] documentation for QString::right(int n) confuse

2013-06-03 Thread Constantin Makshin
If 'x' is equal to Pineapple, then x[0] = 'P' x[1] = 'i' x[2] = 'n' x[3] = 'e' x[4] = 'a' x[5] = 'p' x[6] = 'p' x[7] = 'l' x[8] = 'e' No offence, but I don't understand how the phrase n rightmost characters can be confusing to anyone. :-) On Jun 4, 2013 7:39 AM, Duan,Lin lind...@isoftstone.com