-
creating qt apps
Hi, all I do in Qt is just run QtCreator's compiler and display the window/widget that I wrote.
Few quetions I want to ask:
1)how to make my Qt project to become a real application?(just click the icon/shortcut to run the program)
2)do other's pc need to install qt too to run Qt apps?
-
Re: creating qt apps
1. Steps to Programming Qt Applications.
2. Deployment (it's actually a part of the first link).
-
Re: creating qt apps
thanks for reply.
if I download a qt app from http://qt-apps.org/, I use QtCreator to run .pro file and use?or any other way?
-
Re: creating qt apps
Opening a pro-file in the QtCreator is enough. :)
-
Re: creating qt apps
The second question forces you to read the links provided, but the first one is easily answered; they are real applications already. Open your project folder and look for the "projectname.exe" file. Voilá. Qt as a framework also takes care of building the appropiate binary for whichever platform it is you are on. That is, .exe for windows, or adding the executable metadata into the binary for unix systems and such.
-
Re: creating qt apps
-
Re: creating qt apps
one more question.If I upload my apps in http://qt-apps.org, I just have to upload my .pro file? or deploy all??
-
Re: creating qt apps
You have to provide the whole source code, the pro file will not be enough. Best you also provide the compiled version.
-
Re: creating qt apps
is it the executable file?(I write code in QtCreator and it has automatically build it for me)
-
Re: creating qt apps
The source code consists of the headers (.h), code (.cpp), forms (.ui), projects (.pro, .pri), translations (.ts), resources (images, data files, ...), etc.
The binaries are the executable (.exe on Windows), libraries if you use some and they can be redistributed, compiled translation files (.qm), resources, etc.
-
Re: creating qt apps
I got it. yeye olive, if I'm using Linux, can I make executable Qt file that can run in window?
-
Re: creating qt apps
Yup, you have to build it on Windows ;)
-
Re: creating qt apps
hi all,
reading this thread it was not clear for me if it is possible (in IOS X) to:
* create a stand alone file opening which my app will run (in whatever other mac, even without Qt)
watching links above i think this could be linked to the "bundle" concept, but it's not clear at all for me if it's right and in case how to use it
Could you please give me any advice/tutorial?
thanks
Andrea
-
Re: creating qt apps
See Deploying an Application on Mac OS X.
Note: macdeploy tool is okay for simple projects when there are only Qt deps.
-
Re: creating qt apps