Re: [Interest] QMake generation config file from variables in .pro file

2014-01-29 Thread Stephen Kelly
Constantin Makshin wrote: > I wonder why such useful feature is left undocumented... I don't know, but as with anything undocumented, handle with care. http://thread.gmane.org/gmane.comp.lib.qt.user/10485/focus=10540 Thanks, Steve. ___ Interest ma

Re: [Interest] automatic UI updates as the result of QML file modifications

2014-01-29 Thread Joshua Kolden
Some other people where asking for a video too. So I did one real quick. Compressed a bit big, but hopefully it’s watchable. http://www.studiopyxis.com.s3.amazonaws.com/movies/C4InteractiveDev.mov j On Jan 25, 2014, at 1:04 AM, Alexander Ivash wrote: > >> Yes. I’ve done this. I have a

Re: [Interest] QML performance on iOS?

2014-01-29 Thread Alan Alpert
On Wed, Jan 29, 2014 at 12:07 PM, André Pönitz wrote: > On Tue, Jan 28, 2014 at 11:54:21AM -0800, Alan Alpert wrote: >> Why not tell them that QML is native? > > Believe it or not, some people simply dislike the idea of lying. I dislike the idea of lying, but I don't mind calling things like I s

Re: [Interest] QMake generation config file from variables in .pro file

2014-01-29 Thread Constantin Makshin
I wonder why such useful feature is left undocumented... On 01/30/2014 01:27 AM, Guido Seifert wrote: > Wow, have to try this immediately. If this works it would be much better > than what I concocted. :-) > > Guido > >> Hi, >> >> actually this is possible with qmake. >> If you have a file named

Re: [Interest] Using QNAM from threads

2014-01-29 Thread Thiago Macieira
On quarta-feira, 29 de janeiro de 2014 21:45:47, phil.kurs...@gmail.com wrote: > I have a sync thread that needs to read from a database and sends data to a > server. The server response can be very large. The sync thread should > process them. I somehow fail to seem how I could decouple the backg

Re: [Interest] Qt 5.2 basic example on iOS not working, what am I doing wrong?

2014-01-29 Thread Thomas Sevaldrud
Ok... so now I finally have it working :-) Although there are still a couple of small issues... First of all, I noticed that regardless of what I selected on the combobox in the Examples browser, it always loaded the examples from the "clang_64" folder. So I tried loading the examples directly fro

Re: [Interest] Using QNAM from threads

2014-01-29 Thread phil.kursawe
My scenario is this: I have a sync thread that needs to read from a database and sends data to a server. The server response can be very large. The sync thread should process them. I somehow fail to seem how I could decouple the background thread from the network stuff. Von: Konrad Rose

Re: [Interest] QMake generation config file from variables in .pro file

2014-01-29 Thread Guido Seifert
Wow, have to try this immediately. If this works it would be much better than what I concocted. :-) Guido > Hi, > > actually this is possible with qmake. > If you have a file named config.h.in you can use normal qmake variables > in it e.g. "#define Version $$VERSION". > > Then put the followi

Re: [Interest] Qt 5.2 basic example on iOS not working, what am I doing wrong?

2014-01-29 Thread Thomas Sevaldrud
Now I've tried a lot of different things, and had some success, but mostly failures... First of all It appears that you need to actually compile something in XCode before you can use the command line tools from Qt Creator. I just made a dummy iOS application from a template. The first time I compi

[Interest] Qt 5.2 winextras - QWinJumpList

2014-01-29 Thread Miroslav Špehar
Hi, does anyone have an example of a very simple jump list code for windows 7/8 using Qt 5.2? Code examples on http://qt-project.org/doc/qt-5/qtwinextras-overview.htmlseem to use outdated API (and i couldn't find them using new API anywhere online). Regards, Miroslav. -- How much wood could a w

Re: [Interest] Qt laptop stickers

2014-01-29 Thread Jürgen Ryannel
I will stop by and bring a beer:-) What about using a service like (http://www.zazzle.com/google+gifts), so that the community could order them and create additional marketing for Qt and DIGIA. Maybe also a contest for best designed merchandise. Not sure if this is possible. / jryannel On

[Interest] Error with Qt3D and importing 3D meshes. Plugin missing.

2014-01-29 Thread /#!/JoePea
Hi all, I thought I'd try here before the developers list. I've gotten Qt3D installed (after installing Qt 5.2.0). I get an error when trying to import 3D meshes (.3ds files). I'm trying out the examples that shipped with Qt3D. Here's what the errors look like: Asset importer error: Chunk is too

Re: [Interest] QMake generation config file from variables in .pro file

2014-01-29 Thread Marcel Krems
Hi, actually this is possible with qmake. If you have a file named config.h.in you can use normal qmake variables in it e.g. "#define Version $$VERSION". Then put the following in your .pro file: versionconfig.input = config.h.in versionconfig.output = config.h QMAKE_SUBSTITUTES += versionconfig

[Interest] qdialog behaviour and repaint issue on embedded

2014-01-29 Thread Christos Vassiladiotis
hello, ​i’m in the process of “porting/adjusting” a pre-Qt Quick UI (just C++) from desktop to an embedded platform. the app had started on Qt 4.8.x and has now moved to Qt 5.0.2, which is the Qt version used by the target linux embedded platform. i’m still trying to absorb the notion of QPA’s a

[Interest] QPrinter::pageRect() and QPainter::drawRect() - misplaced output

2014-01-29 Thread Leonardo Backes
Hi, I'm developing some report generator tool in my current project, using QGraphicsView/Scene to format the pages. All of this is done as a viewer, but when I want to print it, I got some problems. I've made some simple tests and came to this code http://ideone.com/AyxJHM which, as far I underst

[Interest] Starting Finnish translation of Qt

2014-01-29 Thread Lasse Liehu
Hello, I'm starting to translate Qt into Finnish. There is a complete translation of Qt 4 in KDE. The idea is to first import that translation and then continue translating Qt 5. Cross-posting to find other possibly interested people. I’m hoping that previous Finnish translators of Qt in KDE wil

[Interest] Text rendering, QPainter on QWidget vs. QImage on X11

2014-01-29 Thread Christoph Cullmann
Hi, if I render text using Qt / QPainter to a QWidget directly or first into a QImage (in some background thread) and then paint that image on the widget, I get differences in the rendering result. It seems to only occur if sub-pixel hinting is enabled. Is there a way to enforce the same result

Re: [Interest] QtQuick real-time meter widget question (QML Loader-related)

2014-01-29 Thread Gunnar Sletta
On 03 Jan 2014, at 17:02, VStevenP wrote: > I've created a real-time audio meter widget in QtQuick. The meter is updated > on a regular basis, and it is always visible on the top status bar of my app. > > 1. Is there a way to run this meter so that it will not be blocked by any QML > Loader

Re: [Interest] Having an issue with a font

2014-01-29 Thread Gunnar Sletta
It is also possible that QML_USE_GLYPHCACHE_WORKAROUND=1 would have fixed this, but for the resolution in question, using bitmap rendering of glyphs will most likely give better results. cheers, Gunnar On 07 Jan 2014, at 16:58, Rogers Nate wrote: > Just wanted to let the list know I was able

Re: [Interest] Qt 5 Plugins for iOS & Android

2014-01-29 Thread Alex Leutgöb
Our interest list is still open but you can expect some news in the near future. :) Thank you, Alex On 02.01.2014, at 04:10, Yang Fan wrote: > Any progress? > > > On Mon, Dec 9, 2013 at 6:17 PM, Alex Leutgöb wrote: > Hey Qt Friends, > > Just a short announcement in-between: We here at V-P

Re: [Interest] QML performance on iOS?

2014-01-29 Thread André Pönitz
On Tue, Jan 28, 2014 at 11:54:21AM -0800, Alan Alpert wrote: > Why not tell them that QML is native? Believe it or not, some people simply dislike the idea of lying. With "native" people usually associate certain properties, like performance, lack of separate run time environment, seemless blendi

Re: [Interest] Using QNAM from threads

2014-01-29 Thread Thiago Macieira
On quarta-feira, 29 de janeiro de 2014 18:24:10, Konrad Rosenbaum wrote: > > But it seems to be impossible to connect a slot from a thread to a signal > > of the QNAM created QNetworkReply object. > > This should not be a problem. You can connect signals and slots across > thread boundaries witho

Re: [Interest] Strange socket problem. QTcpSocket. Windows/Linux

2014-01-29 Thread Thiago Macieira
On quarta-feira, 29 de janeiro de 2014 09:48:44, Guido Seifert wrote: > > Can you say what is happening at the TCP level? Are the packets being > > sent? Do they have the PSH flag set? Does the TV send back ACK packets? > > To tell you the truth, I don't know. This is normally a bit too low-level

Re: [Interest] Using QNAM from threads

2014-01-29 Thread Konrad Rosenbaum
On Wednesday, Wednesday 29 January 2014 at 16:27, Philipp Kursawe wrote: > I have the following problem. I want to have only one QNAM in the (heavily > plugin based) app. > > So I create one QNAM in the main thread when the app starts and assign it > to the qApp->setProperty("qnam"). > > Now I ha

[Interest] Using QNAM from threads

2014-01-29 Thread Philipp Kursawe
I have the following problem. I want to have only one QNAM in the (heavily plugin based) app. So I create one QNAM in the main thread when the app starts and assign it to the qApp->setProperty("qnam"). Now I have several threads that can run in the background and once in a while need network acce

Re: [Interest] Forwarding an event to a child

2014-01-29 Thread Bo Thorsen
Den 29-01-2014 09:27, Etienne Sandré-Chardonnal skrev: > Dear all, > > I'm facing the following issue. I would like to forward events (keys, > mouse, etc...) from a widget to a child widget. I have tried calling > sendEvent(child, event) from reimplemented event handlers. > > However, if the child

Re: [Interest] paintEvent

2014-01-29 Thread Igor Mironchik
> > 29.01.2014, 14:43, "Igor Mironchik" : >> Hi. >> >> I'm implementing AbstractScrollArea and ScrollArea for QtMWidgets library. >> >> Almost all have been done except painting scroll indicators. >> >> The problem is that that I can't draw on child widget. I installed event >> filter for the chil

Re: [Interest] paintEvent

2014-01-29 Thread Konstantin Tokarev
29.01.2014, 14:43, "Igor Mironchik" : > Hi. > > I'm implementing AbstractScrollArea and ScrollArea for QtMWidgets library. > > Almost all have been done except painting scroll indicators. > > The problem is that that I can't draw on child widget. I installed event > filter for the child widget, a

[Interest] paintEvent

2014-01-29 Thread Igor Mironchik
Hi. I'm implementing AbstractScrollArea and ScrollArea for QtMWidgets library. Almost all have been done except painting scroll indicators. The problem is that that I can't draw on child widget. I installed event filter for the child widget, and in the filter I invoke paint method for scroll i

Re: [Interest] Strange socket problem. QTcpSocket. Windows/Linux

2014-01-29 Thread Guido Seifert
> Can you say what is happening at the TCP level? Are the packets being sent? > Do > they have the PSH flag set? Does the TV send back ACK packets? To tell you the truth, I don't know. This is normally a bit too low-level for me. More or less I moved on, because even if I had seen a problem

[Interest] Forwarding an event to a child

2014-01-29 Thread Etienne Sandré-Chardonnal
Dear all, I'm facing the following issue. I would like to forward events (keys, mouse, etc...) from a widget to a child widget. I have tried calling sendEvent(child, event) from reimplemented event handlers. However, if the child ignores the event, this is re-propagated to its parent, and this cr

Re: [Interest] Strange layout issue

2014-01-29 Thread Etienne Sandré-Chardonnal
I forgot the screenshot: 2014-01-29 Etienne Sandré-Chardonnal > Dear all, > > I have a strange bug with a layout. The widget is a simple form made with > QtDesigner, the top level layout is a QVBoxLayout containing 7 sub-layouts. > > I added this widget manually to a custom QWidget, by reparen

[Interest] Strange layout issue

2014-01-29 Thread Etienne Sandré-Chardonnal
Dear all, I have a strange bug with a layout. The widget is a simple form made with QtDesigner, the top level layout is a QVBoxLayout containing 7 sub-layouts. I added this widget manually to a custom QWidget, by reparenting it, and by resizing it in resizeEvent to its sizeHint(). The strange th

Re: [Interest] QML QList as modelData

2014-01-29 Thread Damian Ivanov
Hi Alan, Appreciate your help. I found out that I can use a QStringList and directly from qml use it as modelData lik ListView{model:myStringList;delegate: Text {text:modelData}}, so I converted Yesterday my QList to a QStringList. But I really much appreciate you answer, had no answers to my ques

[Interest] EGL & QML

2014-01-29 Thread Jeff Lancaster
My video app uses the EGL interface of which I created a new qdeclarativevideooutput object to implement it. But when I run it in the example app, qmlvideo, where the video is displayed in a 250x250 rectangle my video does not play within the designated area (center screen), it is offset in the

Re: [Interest] QML performance on iOS?

2014-01-29 Thread Alan Alpert
Why not tell them that QML is native? It is just instantiating a tree of C++ objects (if you aren't using JS bindings). If you do a C++/QML app, with C++ for the logic instead of JS, then the only performance cost over "100% native" will be the startup time. -- Alan Alpert On Mon, Jan 27, 2014 at

Re: [Interest] QML QList as modelData

2014-01-29 Thread Alan Alpert
On Mon, Jan 27, 2014 at 1:21 AM, Damian Ivanov wrote: > Hi, > > I have QML c++ plugin which I import inside the .qml files using > import MyPlugin 1.0 > In the plugin I have a QList which I want to expose to .qml for a > ListView(and other views) as the modelData. What is the right way to > do it?

Re: [Interest] QTableView column format

2014-01-29 Thread Muhammad Bashir Al-Noimi
On 01/25/2014 11:54 AM, Andre Somers wrote: > Your delegate is dealing with the editor, but not with the display. Try > reimplementing the displayText method. Also, check if the data type you > get from the database really is numerical. SQLite can be weird with data > types in my experience. Ignore

Re: [Interest] QTableView column format

2014-01-29 Thread Muhammad Bashir Al-Noimi
On 01/25/2014 11:54 AM, Andre Somers wrote: > Your delegate is dealing with the editor, but not with the display. Try > reimplementing the displayText method. Also, check if the data type you > get from the database really is numerical. SQLite can be weird with data > types in my experience. I trie

Re: [Interest] Qt 5.2 basic example on iOS not working, what am I doing wrong?

2014-01-29 Thread Thomas Sevaldrud
I took the one called Qt 5.2.0 for iOS: http://download.qt-project.org/official_releases/qt/5.2/5.2.0/qt-mac-opensource-5.2.0-ios-x86_64-offline.dmg This package installed kits for Mac Desktop as well as iOS device and iOS simulator. This is so weird... I guess other people has this working, ri

[Interest] Painting on child widget

2014-01-29 Thread Igor Mironchik
Hi. Is it possible to paint on child widget from parent's paintEvent()? -- Best Regards, Igor Mironchik. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Strange socket problem. QTcpSocket. Windows/Linux

2014-01-29 Thread Thiago Macieira
On terça-feira, 28 de janeiro de 2014 10:01:11, Guido Seifert wrote: > After 3 - 10 resubscriptions the socket is dead. It takes data, seems to be > in perfect working order, but the Samsung does not react. Same when I send > play and stop UPnP commands. Works several times, then I get socket erro

Re: [Interest] Qt Plugins for Visual Studio

2014-01-29 Thread Michael Jackson
Can I build a VS2013 plugin for Qt 4.8.5? Is this possible or was there a technical reason I can not do this? Thanks Mike Jackson On Jan 26, 2014, at 11:21 AM, William Hallatt wrote: > http://qt-project.org/wiki/QtVSAddin > > > > On Sunday, 26 January 2014, Michael Jackson wrote: > I have

Re: [Interest] Qt 5.2 Self Built Assistant Application has no index

2014-01-29 Thread Michael Jackson
On Jan 28, 2014, at 4:59 AM, Frederik Gladhorn wrote: > Mandag 27. januar 2014 15.54.21 skrev Michael Jackson: >> I built Qt 5.2 this weekend on OS X 10.8.5 using Xcode 4.6.x and after >> installation the QtAssistant application does not seem to have an "index" >> or anyway to search for anythi