Re: [Interest] can qt.conf be put in a common location?

2013-01-29 Thread VStevenP
Hi Link, - Original Message - > From: Lincoln Ramsay > To: interest@qt-project.org > Cc:  > Sent: Tuesday, January 29, 2013 5:49 PM > Subject: Re: [Interest] can qt.conf be put in a common location? > People outside the Qt project have been battling with these mechanisms  > for years. A

Re: [Interest] Qt Installer Framework

2013-01-29 Thread Alex Malyushytskyy
> I see same behavior in an INNO Setup, however MSI behaves different - it > doesn't allow to install program twice. It all depends on the design of your installation: product and package codes. You can have multiple products with the same name ( for example different version of the products ) in

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] can qt.conf be put in a common location?

2013-01-29 Thread Lincoln Ramsay
On 29/01/13 18:29, Thiago Macieira wrote: > I really don't get what you or Lincoln are talking about. I don't see > why building twice is necessary. Just deploy the DLLs that you > compiled your application with, alongside a qt.conf file. If you want > to avoid a qt.conf file, create an installa

Re: [Interest] QML window icon

2013-01-29 Thread Alan Alpert
On Tue, Jan 29, 2013 at 11:05 AM, Rutledge Shawn wrote: > Mark Summerfield writes: >> I am trying to create a "pure" QML program, so may main.cpp is simply: >> >> #include >> #include >> #include >> int main(int argc, char *argv[]) >> { >> QGuiApplication app(argc, arg

Re: [Interest] QML window icon

2013-01-29 Thread Rutledge Shawn
Mark Summerfield writes: > I am trying to create a "pure" QML program, so may main.cpp is simply: > > #include > #include > #include > int main(int argc, char *argv[]) > { > QGuiApplication app(argc, argv); > QQmlEngine engine; > QQuickView view(&engine, 0)

Re: [Interest] [Qt 5.0] Qt5, opengl and platform plugin (x64 static)

2013-01-29 Thread Thiago Macieira
On terça-feira, 29 de janeiro de 2013 11.51.35, Mojmír Svoboda wrote: > So to formulate my questions: > 1) What's inside qwindows plugin? Is it necessary to run Qt application? No, it's not necessary to run every Qt application. Just the ones that want to display any GUI on Windows. If you're ok

Re: [Interest] can qt.conf be put in a common location?

2013-01-29 Thread Thiago Macieira
On terça-feira, 29 de janeiro de 2013 10.22.49, Stephan Kanthak wrote: > I bumped into the same problem as StevenP a while ago (I think we even > talked about it here already before). As I didn't find a reference to > "configure my system correctly", can you please let us know what the > correct wa

Re: [Interest] QPlainTextEdit layout bug

2013-01-29 Thread Diego Iastrubni
On Tue, Jan 29, 2013 at 1:54 PM, M. Bashir Al-Noimi wrote: > On 29/01/2013 10:39 ص, Diego Iastrubni wrote: > > On Thu, Jan 24, 2013 at 11:50 PM, M. Bashir Al-Noimi wrote: > >> As you know Qt supports auto text layout for all Qt input widgets but >> recently I noticed that QPlainTextEdit doesn't!!

[Interest] QML window icon

2013-01-29 Thread Mark Summerfield
Hi, I am trying to create a "pure" QML program, so may main.cpp is simply: #include #include #include int main(int argc, char *argv[]) { QGuiApplication app(argc, argv); QQmlEngine engine; QQuickView view(&engine, 0); view.setSource(QUrl("qrc

Re: [Interest] QPlainTextEdit layout bug

2013-01-29 Thread M. Bashir Al-Noimi
On 29/01/2013 10:39 ص, Diego Iastrubni wrote: On Thu, Jan 24, 2013 at 11:50 PM, M. Bashir Al-Noimi wrote: As you know Qt supports auto text layout for all Qt input widgets but recent

[Interest] [Qt 5.0] Qt5, opengl and platform plugin (x64 static)

2013-01-29 Thread Mojmír Svoboda
Hello again, thanks to your recent help I succeeded to compile the program with 5.0 version. But it does not end there, there is something called platform plugin standing in my way to first run. I am using static build of the qt library for my program, so I imported the plugin in main.cpp via

Re: [Interest] Qt Installer Framework

2013-01-29 Thread Иван Комиссаров
In fact, i'm comparing different installer here, Qt Installer is not the only option i consider. I see same behavior in an INNO Setup, however MSI behaves different - it doesn't allow to install program twice. Иван Комиссаров 29.01.2013, в 13:21, Kalinowski Maurice написал(а): > > I remember

Re: [Interest] QFileDialog: what's wrong with this minimal example

2013-01-29 Thread Friedemann Kleint
Hi, since I also ran into this on my machine, I created https://bugreports.qt-project.org/browse/QTBUG-29366 with an example and a bit of analysis. The underlying reason is that the creation of a QInotifyFileSystemWatcherEngine fails due to "Too many open files". Regards, Friedemann -- Frie

Re: [Interest] How to save QTextEdit content by QSqlQuery

2013-01-29 Thread M. Bashir Al-Noimi
On 28/01/2013 08:36 ص, Yves Bailly wrote: Assuming your're using some low-level SQL function and not QSqlQuery and the likes to "build" the SQL command to execute, here's something that works, albeit probably not very efficient: QString html = textEdit->toHtml(); QB

Re: [Interest] QPlainTextEdit layout bug

2013-01-29 Thread Diego Iastrubni
On Thu, Jan 24, 2013 at 11:50 PM, M. Bashir Al-Noimi wrote: > As you know Qt supports auto text layout for all Qt input widgets but > recently I noticed that QPlainTextEdit doesn't!! > > Could anyone tell me if this is wrong or right before filing a new bug > report. > > As you can see in this scr

Re: [Interest] can qt.conf be put in a common location?

2013-01-29 Thread Stephan Kanthak
On 01/29/2013 06:34 AM, Thiago Macieira wrote: > On segunda-feira, 28 de janeiro de 2013 19.44.18, VStevenP wrote: >> Is it possible to specify a shared location for qt.conf using an environment >> variable? >> >> It's being a bit of a pain to put a qt.conf file in the app dir for every Qt >> examp

Re: [Interest] Qt Installer Framework

2013-01-29 Thread Kalinowski Maurice
> > > Not sure how we handle that, but i guess that behavior is correct. In case > > of > two different uninstall tools, both called "App", one entry will overwrite the > other (even if version is different). Anyway, I need to lookup MSDN for the > right behavior, in the meantime it wouldn't hurt

Re: [Interest] Qt Installer Framework

2013-01-29 Thread Иван Комиссаров
> Not sure how we handle that, but i guess that behavior is correct. In case of > two different uninstall tools, both called "App", one entry will overwrite > the other (even if version is different). Anyway, I need to lookup MSDN for > the right behavior, in the meantime it wouldn't hurt if yo

Re: [Interest] Crash when starting Qt5 rasterwindow on ARM/linuxfb

2013-01-29 Thread Thomas Petazzoni
Dear Qt developers, On Tue, 15 Jan 2013 15:29:13 +0100, Thomas Petazzoni wrote: > > > Seems like a bug in the qlinuxfb platform. QFbBackingStore is > > > assuming that create() has already been called on the QWindow. > > > Before create() is called window->handle() will return 0. It's > > > proba

Re: [Interest] Qt5 cross-compilation and installation, INSTALL_ROOT behavior

2013-01-29 Thread Thomas Petazzoni
Hello, No reaction at all? Thanks, Thomas On Mon, 14 Jan 2013 22:14:51 +0100, Thomas Petazzoni wrote: > Hello, > > I am one of the core developers of the Buildroot embedded Linux build > system, currently packaging Qt5. I have one issue, that I already had > with Qt4, so I'd like to see if the

Re: [Interest] Unable to call QKeyEvent::key()

2013-01-29 Thread Samuel Gaist
Hi, did you #include in your cpp file ? Hope it helps Samuel On 29 janv. 2013, at 09:22, wrote: > Hi, > Much as it gets boring seeing posts which start with *noob alert* warnings I > am kind of in the same position right now. However, I have used Qt > extensively via PySide though am just

Re: [Interest] can qt.conf be put in a common location?

2013-01-29 Thread Yves Bailly
Le 29/01/2013 09:29, Thiago Macieira a écrit : > On terça-feira, 29 de janeiro de 2013 08.55.00, Yves Bailly wrote: >> Le 29/01/2013 06:34, Thiago Macieira a écrit : >>> On segunda-feira, 28 de janeiro de 2013 19.44.18, VStevenP wrote: If I could specify a location where the file could be foun

Re: [Interest] can qt.conf be put in a common location?

2013-01-29 Thread Thiago Macieira
On terça-feira, 29 de janeiro de 2013 08.55.00, Yves Bailly wrote: > Le 29/01/2013 06:34, Thiago Macieira a écrit : > > On segunda-feira, 28 de janeiro de 2013 19.44.18, VStevenP wrote: > >> Is it possible to specify a shared location for qt.conf using an > >> environment variable? > >> > >> It's b

[Interest] Unable to call QKeyEvent::key()

2013-01-29 Thread bb6xt
Hi, Much as it gets boring seeing posts which start with *noob alert* warnings I am kind of in the same position right now. However, I have used Qt extensively via PySide though am just starting off with c++/Qt. I am trying to reimplement the keyPressEvent on a class which inherits QMainWindow b