I have completed my application but I don't know how package and redistribute it to my friends. Until now every application I made was only for me so I didn't worry of the installation process.
I have used kate for writing source files and 'qmake -project' and 'qmake' for generating the project file and the Makefile.
What the application do? Essentially it reads data from a sqlite3 database and shows them. For the application I have used only QT classes (and custom classes, obviously), nothing else.
Maybe it is useful report the hierarchy of the project:
(main folder)
|
+--mainwindow{.h,.cpp},app.pro,app.qrc,main.cpp
|
+--(centralwidget folder)
| |
| +--custom class designing the centralwidget of QMainWindow
|
+--(gameviewer folder)
| |
| +--a modeless dialog
|
+--(icons folder)
|
+--(images folder)
|
+--(database folder)
|
+--contains the sqlite3 file "gmcdb"
Note #1:
The application simply reads from the database and cannot be used for editing it so the database file can be installed system wide.
Note #2:
Some of the images are used in html code passed to QPainter objects so the executable 'must know' constantly where they are installed.
How I accomplish this task? Is there, somewhere, a tutorial that responds to my questions? I have read the official KDevelop tutorial but it lacks in these matters.
Hoping someone can help me,
best regards
P.S.
I have posted in the wrong section, sorry. If some administrator can move it in Qt Programming, Thanks
Bookmarks