Re: [Interest] Building Qt from Sources

2012-02-21 Thread Thiago Macieira
On segunda-feira, 20 de fevereiro de 2012 21.38.28, Szalata, Zenon M. wrote: > I am working at a Laboratory where RedHat Enterprise Linux 5 or 6 are the > only Unix OS used on desktop computers. Presently, installing qt 4.8 from > SDK package fails. So I am trying to install from sources. I have

Re: [Interest] Getting V8

2012-02-21 Thread aurindam.jana
In Qt5 dir git pull git submodule init qtjsbackend git submodule update qtjsbackend cd qtjsbackend qmake make ~Auri From: interest-bounces+aurindam.jana=nokia@qt-project.org [interest-bounces+aurindam.jana=nokia@qt-project.org] on behalf of ext Mark Constable [ma...@re

Re: [Interest] Building Qt from Sources

2012-02-21 Thread Jesus Fernandez
Hello, I have a RHEL5 workstation at work. For building Qt Creator I use 2 scripts: bin> cat buildQt #!/bin/sh export LD_LIBRARY_PATH=/users/fernajes/paks/dbus/dbus-1.4.16/deploy/lib:/local/paks/gcc-4.6.0/deploy/lib:/local/paks/gmp\-4.3.2/deploy/lib:/local/paks/mpc-0.8.1/deploy/lib:/local/paks/mp

Re: [Interest] Getting V8

2012-02-21 Thread Mark Constable
On 02/21/12 18:45, aurindam.j...@nokia.com wrote: > In Qt5 dir > git pull > git submodule init qtjsbackend > git submodule update qtjsbackend > > cd qtjsbackend qmake make Thanks for confirming that. The mistake I was making was not having these shell variables set before trying the above... exp

[Interest] QML WebView and anchors

2012-02-21 Thread Harri Pasanen
It looks to me that in the demo QtSDK/Examples/4.7/declarative/demos/webbrowser the WebView does not scroll to anchors in the document. I don't see any obvious way to enable that either. Is it possible? Thanks, Harri ___ Interest mailing list Interes

Re: [Interest] #define in qml

2012-02-21 Thread henry.haverinen
On 2/20/12 10:47 AM, "ext Thiago Macieira" wrote: >> > It's also possible to have different .qml files having slightly >>different >> > imports. You just can't mix major versions, because the backend >>library is >> > completely different. >> >> I would also assume that it's necessary to have s

[Interest] Showing Icon and tooltip into QSqlQueryModel, index

2012-02-21 Thread Hector A. Rompato Carricart
Thanks a lot, Thales. Regards -- Héctor A. Rompato Carricart Buenos Aires - Argentina 15 6652 7388 ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] #define in qml

2012-02-21 Thread qtnext
it's sure that lot of people will wait for a release version of 5.0, or 5.1, if there is no way to use the same source code with #ifdef ... Providing the way to test Qt5 before, will allow more feedback from users ... and a stronger release ! just my two cents ! Le 21/02/2012 17:55, henry.have

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 M

Re: [Interest] #define in qml

2012-02-21 Thread Jason H
Don't forget in OOP, you can always provide an interface class with virtual functions, then use the build environment to select the proper implementation for inclusion. But this approach is limited, especially when you're trying to handle version differences in the toolkit. I myself prefer to

Re: [Interest] #define in qml

2012-02-21 Thread Thiago Macieira
On terça-feira, 21 de fevereiro de 2012 16.55.02, henry.haveri...@nokia.com wrote: > Another common case for #ifdefs is configuration management in > cross-platform projects. > It's not always possible to port a project to a new platform and never > look back. :-) That's not how you're supposed to

Re: [Interest] #define in qml

2012-02-21 Thread Thiago Macieira
On terça-feira, 21 de fevereiro de 2012 18.06.37, qtnext wrote: > it's sure that lot of people will wait for a release version of 5.0, or > 5.1, if there is no way to use the same source code with #ifdef ... > Providing the way to test Qt5 before, will allow more feedback from > users ... and a str

Re: [Interest] #define in qml

2012-02-21 Thread Konstantin Tokarev
21.02.2012, 22:09, "Thiago Macieira" : > On terça-feira, 21 de fevereiro de 2012 18.06.37, qtnext wrote: > >>  it's sure that lot of people will wait for a release version of 5.0, or >>  5.1, if there is no way to use the same source code with #ifdef ... >>  Providing the way to test Qt5 before,

Re: [Interest] #define in qml

2012-02-21 Thread Thiago Macieira
On terça-feira, 21 de fevereiro de 2012 22.16.09, Konstantin Tokarev wrote: > 21.02.2012, 22:09, "Thiago Macieira" : > > On terça-feira, 21 de fevereiro de 2012 18.06.37, qtnext wrote: > >> it's sure that lot of people will wait for a release version of 5.0, or > >> 5.1, if there is no way to use

Re: [Interest] Building Qt from Sources

2012-02-21 Thread Szalata, Zenon M.
Thanks Thiago, > -Original Message- > From: interest-bounces+zms=slac.stanford@qt-project.org > [mailto:interest-bounces+zms=slac.stanford@qt-project.org] On Behalf Of > Thiago Macieira > Sent: Tuesday, February 21, 2012 12:27 AM > To: interest@qt-project.org > Subject: Re: [Intere

Re: [Interest] Building Qt from Sources

2012-02-21 Thread André Pönitz
On Tue, Feb 21, 2012 at 09:53:52AM +0100, Jesus Fernandez wrote: > > For building Qt Creator I use 2 scripts: > bin> cat buildQt > #!/bin/sh > export > LD_LIBRARY_PATH=/users/fernajes/paks/dbus/dbus-1.4.16/deploy/lib:/local/ > paks/gcc-4.6.0/deploy/lib:/local/paks/gmp\-4.3.2/deploy/lib:/local/pa

[Interest] Protection against a VLC-like enforcement: a Qt developers could send an infringement complaint about software distributed through he Apple App Store, and Apple pulling the software?

2012-02-21 Thread Erwin Coumans
I have some concerns regarding the LGPL license, statically linked in an application distributed through the Apple App Store. This was previously discussed here, but it ignore the a part of the LGPL license about not imposing further restrictions: http://lists.qt.nokia.com/pipermail/qt-interest/201

Re: [Interest] Building Qt from Sources

2012-02-21 Thread André Pönitz
On Mon, Feb 20, 2012 at 09:38:28PM -0800, Szalata, Zenon M. wrote: > Here is my directory structure: > > /opt/qt/qt-everywhere-opensource-src-4.8.0 > /opt/qt/qt-4.8.0 > /opt/qt/qt-creator-2.4.1-src > /opt/qt/qtc-2.4.1 > > I have unpacked qt-everywhere-opensource-src-4.8.0 into the first directory

Re: [Interest] Protection against a VLC-like enforcement: a Qt developers could send an infringement complaint about software distributed through he Apple App Store, and Apple pulling the software?

2012-02-21 Thread Jason H
Get a commercial license? Or have a developer friend side-load it for you. Thanks to Apple's DRM we'll see install clubs and piracy take off again. Or use Cydia. From: Erwin Coumans To: interest@qt-project.org Sent: Tuesday, February 21, 2012 2:05 PM Subjec

Re: [Interest] Building Qt from Sources

2012-02-21 Thread R. Reucher
On Tuesday 21 February 2012 20:04:39 André Pönitz wrote: > ./configure ... [perhaps with -prefix `pwd` to avoid the 'make install'] That's actually a great idea (-prefix `pwd`)... I wonder why I've never had that idea myself :)? Thanks, André, for this useful tip! Cheers, René ___

Re: [Interest] Protection against a VLC-like enforcement: a Qt developers could send an infringement complaint about software distributed through he Apple App Store, and Apple pulling the software?

2012-02-21 Thread Thiago Macieira
On terça-feira, 21 de fevereiro de 2012 11.05.13, Erwin Coumans wrote: > Do we just need to trust the Qt developers they won't do this? You can't do that. With the Qt Project, "Qt developers" means every single person who has contributed code to Qt. That's not just one company, but a lot of indivi

Re: [Interest] Protection against a VLC-like enforcement: a Qt developers could send an infringement complaint about software distributed through he Apple App Store, and Apple pulling the software?

2012-02-21 Thread Erwin Coumans
Right, a commercial Qt license or using Cydia instead sound reasonable. The answer(s) in the original thread ( http://lists.qt.nokia.com/pipermail/qt-interest/2011-September/035667.html) didn't seem to address the issues between (L)GPL license and Apple App Store properly. Thanks! Erwin On 21 F

[Interest] Best Qt Webserver?

2012-02-21 Thread Jason H
After a long dearth of no webservers, it seems that Qt has several. I've tried libQxt, but can't get it to work. I've looked at QHttpServer (based on a C parser and has some Q* issues) Nothing quite suits my fancy. Does anyone know if there is a fully C++ Qt webserver that works? __

Re: [Interest] Protection against a VLC-like enforcement: a Qt developers could send an infringement complaint about software distributed through he Apple App Store, and Apple pulling the software?

2012-02-21 Thread Erwin Coumans
(I didn't receive an email, so it is not clear how to reply, other than copy and pasting from the list) Thiago Macieira wrote: >> Or is there anything that protects Qt users (who want to distribute their >> software through the Apple App Store) from such infringement complain? >Don't infringe. H

Re: [Interest] Protection against a VLC-like enforcement: a Qt developers could send an infringement complaint about software distributed through he Apple App Store, and Apple pulling the software?

2012-02-21 Thread Jason H
I think you guessed it. Apple's store isn't about software rights, it is about profit.  You can also only make apps for Android and give Apple's store the middle finger. From: Erwin Coumans To: Jason H Cc: "interest@qt-project.org" Sent: Tuesday, Februa

Re: [Interest] Best Qt Webserver?

2012-02-21 Thread Marcelo Estanislau Geyer
See gSoap http://www.cs.fsu.edu/~engelen/soap.html Marcelo E. Geyer Date: Tue, 21 Feb 2012 11:47:34 -0800 From: scorp...@yahoo.com To: interest@qt-project.org Subject: [Interest] Best Qt Webserver? After a long dearth of no webservers, it seems that Qt has several. I've tried libQxt, but can't

Re: [Interest] Best Qt Webserver?

2012-02-21 Thread Jason H
Thanks, but Qt's SOAP support is abhorrent. Down that path there be dragons. I don't want to try to implement a gSoap server and deal with Qt's outdated SOAP. Plus soap in itself is overkill. I just want something to do the HTTP parsing, and handle the transport (various encodings like fixed or

Re: [Interest] Protection against a VLC-like enforcement: a Qt developers could send an infringement complaint about software distributed through he Apple App Store, and Apple pulling the software?

2012-02-21 Thread Thiago Macieira
On terça-feira, 21 de fevereiro de 2012 11.57.19, Erwin Coumans wrote: > Are you saying there is a way to release software using Qt under the LGPL > license in the App Store, without infringing? I have no clue. I've never read the App Store's licensing to see if there are restrictions. And even if

Re: [Interest] #define in qml

2012-02-21 Thread Harri Pasanen
As Thiago mentioned, one way to sidestep the need for #ifdef is to have branch in version control for each version. Not all version control software is created equal in this respect though. Branching in git is very good, svn less so. Personally I have branches for meego, symbian, android, + adsup

Re: [Interest] #define in qml

2012-02-21 Thread Thiago Macieira
On terça-feira, 21 de fevereiro de 2012 22.53.08, Harri Pasanen wrote: > As Thiago mentioned, one way to sidestep the > need for #ifdef is to have branch in version control > for each version. > > Not all version control software is created equal in this respect though. > Branching in git is very g

Re: [Interest] Building Qt from Sources

2012-02-21 Thread Szalata, Zenon M.
Hi Thiago, I am replying to this since I have some new information. I started all over, removed all environment variables that might have anything to do with QT. Unpacked both qt-everywhere-opensource-src-4.8.0.tar.gz and qt-creator-2.4.1-src.tar.gz and built both successfully. Designer is worki

Re: [Interest] Building Qt from Sources

2012-02-21 Thread 1+1=2
On Tue, Feb 21, 2012 at 11:09 AM, André Pönitz wrote: > Something here is complicated by your local setup. > None of the environment variables should be needed. > > ./configure ... [perhaps with -prefix `pwd` to avoid the 'make install'] -developer-build can be used to avoid 'make install' too.

Re: [Interest] Building Qt from Sources

2012-02-21 Thread Thiago Macieira
On terça-feira, 21 de fevereiro de 2012 15.07.04, 1+1=2 wrote: > On Tue, Feb 21, 2012 at 11:09 AM, André Pönitz > > wrote: > > Something here is complicated by your local setup. > > None of the environment variables should be needed. > > > > ./configure ... [perhaps with -prefix `pwd` to avoid the

Re: [Interest] Best Qt Webserver?

2012-02-21 Thread Constantin Makshin
Have you looked at QtWebApp (http://stefanfrings.de/qtwebapp/index-en.html). On Feb 21, 2012 11:47 PM, "Jason H" wrote: > After a long dearth of no webservers, it seems that Qt has several. > I've tried libQxt, but can't get it to work. > I've looked at QHttpServer (based on a C parser and has so

Re: [Interest] Best Qt Webserver?

2012-02-21 Thread Mandeep Sandhu
> Plus soap in itself is overkill. I just want something to do the HTTP > parsing, and handle the transport (various encodings like fixed or chunked, > etc). Via some means, I should be able to map a URL to a QObject or > QObject's slot. Do you want to handle the HTTP headers in some special way?

Re: [Interest] Best Qt Webserver?

2012-02-21 Thread Jeremy Lainé
Hi, On 02/21/2012 08:47 PM, Jason H wrote: After a long dearth of no webservers, it seems that Qt has several. I've tried libQxt, but can't get it to work. I've looked at QHttpServer (based on a C parser and has some Q* issues) Nothing quite suits my fancy. Does anyone know if there is a fully