Re: [Interest] download a file form http

2012-07-05 Thread Harri Pasanen
QtSDK/Examples/4.7/network/download On 07/05/2012 08:54 AM, Sivan Greenberg wrote: Hello, I'm trying to use this: http://doc.qt.nokia.com/4.7-snapshot/network-download-main-cpp.html As a base point for downloading files over the network (surprisingly, there's no such support in

Re: [Interest] download a file form http

2012-07-05 Thread Tony Rietwyk
Sent: Thursday, 5 July 2012 4:54 PM Hello, I'm trying to use this: http://doc.qt.nokia.com/4.7-snapshot/network-download-main-cpp.html As a base point for downloading files over the network (surprisingly, there's no such support in built to Qt) I merely found this piece of

Re: [Interest] download a file form http

2012-07-05 Thread Sivan Greenberg
Thanks for all of the replies, how do I then make the MOC step happen before everything else in Qt creator or by plainly using qmake? (letting qmake do the right thing did not work). Thanks again! -Sivan On Thu, Jul 5, 2012 at 10:23 AM, Tony Rietwyk t...@rightsoft.com.au wrote: Sent:

Re: [Interest] download a file form http

2012-07-05 Thread Tony Rietwyk
Sent: Thursday, 5 July 2012 6:03 PM Thanks for all of the replies, how do I then make the MOC step happen before everything else in Qt creator or by plainly using qmake? (letting qmake do the right thing did not work). Thanks again! -Sivan It depends on your tool-chain, and how you

[Interest] Example of writing an .xls file using a qt program

2012-07-05 Thread Fabio Giovagnini
Hi all, I'd like to study how to write a .xls file using a qt program. Thanks in advance for help Fabio Giovagnini ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Usable Qt [Was: download a file form http]

2012-07-05 Thread Sivan Greenberg
Thanks Tony. With your help, is there a way to download a file using Qt, remain dependent only on Qt, and support multiple targets without having to create your own custom build scripts, reading qmake's code, finding alternative build system, reading QNAM's code (which I actually did) , spawning a

Re: [Interest] Usable Qt [Was: download a file form http]

2012-07-05 Thread Harri Pasanen
Btw. for me the building was just: qmake make And test: ./download http://mpaja.com/download/ahven.png Download of http://mpaja.com/download/ahven.png succeeded (saved to ahven.png) This on Linux (latest kubuntu amd64) Harri On 07/05/2012 11:32 AM, Sivan Greenberg wrote: Thanks Tony. With

Re: [Interest] AudioInput example app noticable very sluggish on Mac

2012-07-05 Thread Mark
On Thu, Jul 5, 2012 at 7:05 AM, michael.godd...@nokia.com wrote: Hello again, On 5/07/12 10:44 AM, Goddard Michael (Nokia-MP/Brisbane) michael.godd...@nokia.com wrote: Hi Mark, On 4/07/12 11:41 PM, ext Mark mark...@gmail.com wrote: Does anyone know what's going wrong in the Qt app on Mac?

Re: [Interest] Example of writing an .xls file using a qt program

2012-07-05 Thread Jason H
You can't directly. You have two options, use ActiveQt and use COM to automate a Excel instance, or output into CSV. Excel will accept the following in a functional way: 2,2 =A1+B1, which would come out as [  2][  2] [  4] However charts, pivot tables, etc, cannot be done. To use COM, you

Re: [Interest] Example of writing an .xls file using a qt program

2012-07-05 Thread R. Reucher
On Thursday 05 July 2012 10:45:51 Fabio Giovagnini wrote: Hi all, I'd like to study how to write a .xls file using a qt program. Qt doesn't support this, but you can still link to an additional library, i.e. LibXL (http://www.libxl.com/). However, I've never used this library so I can't say

Re: [Interest] Usable Qt [Was: download a file form http]

2012-07-05 Thread Sivan Greenberg
On Thu, Jul 5, 2012 at 5:08 PM, Jason H scorp...@yahoo.com wrote: The problem was an advanced user told you about the #include moc hack. The example actually uses it, nobody told me about it :) It is not needed, or encouraged and is used by advanced developers to provide a SINGLE file

Re: [Interest] Usable Qt [Was: download a file form http]

2012-07-05 Thread Jason H
What does your .pro file look like? And if you haven't already, remove the #include for main.moc From: Sivan Greenberg si...@omniqueue.com To: Jason H scorp...@yahoo.com Cc: Tony Rietwyk t...@rightsoft.com.au; interest@qt-project.org interest@qt-project.org;

[Interest] Filling a 3-Color Triangle - A Better Way?

2012-07-05 Thread Josiah Bryan
Hello, All! I have a particular need to fill a triangle (heck, I'll take a poly if I could get it, but triangles are simpler to code) with a different color at each vertex. However, since I can't use OpenGL on my target device, I must use vanilla Qt. After much googling, I found a routine in

Re: [Interest] Usable Qt [Was: download a file form http]

2012-07-05 Thread Harri Pasanen
You are on a right track. Just take main.cpp and turn it into downloadmanager.h: class DownloadManager: public QObject { Q_OBJECT QNetworkAccessManager manager; QListQNetworkReply * currentDownloads; public: DownloadManager(); void doDownload(const QUrl url);

Re: [Interest] Example of writing an .xls file using a qt program

2012-07-05 Thread Fabio Giovagnini
Thanks a lot guys. Very useful for a newbe like me. Thanks again Fabio Giovagnini Il giorno gio, 05/07/2012 alle 07.45 -0700, Jason H ha scritto: You can't directly. You have two options, use ActiveQt and use COM to automate a Excel instance, or output into CSV. Excel will accept the

Re: [Interest] Filling a 3-Color Triangle - A Better Way?

2012-07-05 Thread Josiah Bryan
On Thu, Jul 5, 2012 at 11:20 AM, Ian Thomson ian.thom...@iongeo.com wrote: On 05/07/12 16:12, Josiah Bryan wrote: So, my Qt friends, is there a better way to fill a triangle with a color specified for each vertex, interpolated across the triangle? Some method that takes *less* than 4

Re: [Interest] Filling a 3-Color Triangle - A Better Way?

2012-07-05 Thread Josiah Bryan
On Thu, Jul 5, 2012 at 12:39 PM, Christoph Feck christ...@maxiom.de wrote: On Thursday 05 July 2012 17:12:04 Josiah Bryan wrote: Hello, All! I have a particular need to fill a triangle (heck, I'll take a poly if I could get it, but triangles are simpler to code) with a different color

Re: [Interest] Example of writing an .xls file using a qt program

2012-07-05 Thread Davet Jacques
I'd like to study how to write a .xls file using a qt program. Hi, I've started a wiki page about this very topic two months ago, in the Qt Developer Network wiki: http://qt-project.org/wiki/Handling_Microsoft_Excel_file_format If anyone knows of solutions (or any useful information at