| The Following User Says Thank You to Berserk For This Useful Post: | ||
|
|
2010-08-24
, 10:54
|
|
|
Posts: 60 |
Thanked: 40 times |
Joined on May 2010
@ Skovballe, Denmark
|
#2
|
| The Following User Says Thank You to kif For This Useful Post: | ||
|
|
2010-08-24
, 11:05
|
|
Posts: 66 |
Thanked: 70 times |
Joined on Apr 2010
@ Paris
|
#3
|
> - Version numbers
I too have this problem, and have asked in the qt development forum.
I have gotten some answers that may solve the problem, but it requires some testing before I know if it is a solution.
| The Following 3 Users Say Thank You to DeargDoom For This Useful Post: | ||
|
|
2010-08-25
, 16:24
|
|
|
Posts: 199 |
Thanked: 156 times |
Joined on May 2010
@ Holland
|
#4
|

#!/usr/bin/make -f APPNAME := my_app_name

Build-Depends: debhelper (>= 5), autotools-dev, libhildon1 (>= 2.2), libqt4-dev
|
|
2010-08-25
, 16:40
|
|
|
Posts: 199 |
Thanked: 156 times |
Joined on May 2010
@ Holland
|
#5
|
|
|
2010-08-26
, 00:27
|
|
Posts: 66 |
Thanked: 70 times |
Joined on Apr 2010
@ Paris
|
#6
|
Well.. I finally got it to upload, thanks to the wiki's
But now the autobuild fails.. I copied the rules contents from the Packaging a Qt application page, but I'm not sure how to edit the rules file.
| The Following 2 Users Say Thank You to DeargDoom For This Useful Post: | ||
|
|
2010-08-26
, 23:23
|
|
|
Posts: 199 |
Thanked: 156 times |
Joined on May 2010
@ Holland
|
#7
|
|
|
2010-08-26
, 23:36
|
|
|
Posts: 722 |
Thanked: 1,223 times |
Joined on Apr 2010
@ USA
|
#8
|
Thanks for pointing me in the right direction!
I've tried numerous times now.. and I think it's almost working now.
So far I've had *empty* .deb's showing up, only the bin and doc dir had files in it, no icons, .desktop or .service files..
After I've prepared the folders/sources and ran "mad dh_make", I edited the files inside the debian folder, then I ran "mad qmake", and right after that I ran the "mad dpkg-buildpackage -sa" command.
The problem is.. the files that should go into debian/<appname> show up somewhere else.
(I use WinXP with Nokia Qt SDK, both installed on E: )
My source files are in
E:\QtPrograms\... etc.
While building, the necessary files go into
E:\e\QtPrograms\... etc.
I know Linux doesn't work with drive letters, but how can I fix this? :P
EDIT: I could probably (?) put those folders in the .deb with an archiver, but that's not the way it should go, I think.
| The Following User Says Thank You to fcrochik For This Useful Post: | ||
|
|
2010-08-26
, 23:41
|
|
|
Posts: 199 |
Thanked: 156 times |
Joined on May 2010
@ Holland
|
#9
|

but with the needed folders/files! (DEBIAN, qtprograms and usr folders)
|
|
2010-08-27
, 00:12
|
|
|
Posts: 199 |
Thanked: 156 times |
Joined on May 2010
@ Holland
|
#10
|
#############################################################################
# Makefile for building: imagesetmaker
# Generated by qmake (2.01a) (Qt 4.6.2) on: vr 27. aug 02:08:55 2010
# Project: imagesetmaker.pro
# Template: subdirs
# Command: e:/NokiaQtSDK/Maemo/4.6.2/targets/fremantle-1030/bin/qmake.exe -unix -o Makefile imagesetmaker.pro
#############################################################################
first: make_default
MAKEFILE = Makefile
QMAKE = e:/NokiaQtSDK/Maemo/4.6.2/targets/fremantle-1030/bin/qmake.exe
DEL_FILE = rm -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
COPY = cp -f
COPY_FILE = $(COPY)
COPY_DIR = $(COPY) -r
INSTALL_FILE = install -m 644 -p
INSTALL_PROGRAM = install -m 755 -p
INSTALL_DIR = $(COPY_DIR)
DEL_FILE = rm -f
SYMLINK = ln -f -s
DEL_DIR = rmdir
MOVE = mv -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
SUBTARGETS = \
sub-src
src/$(MAKEFILE):
@$(CHK_DIR_EXISTS) src/ || $(MKDIR) src/
cd src/ && $(QMAKE) e:/qtprograms/imagesetmaker/0.1.2/imagesetmaker-0.1.2/src/src.pro -unix -o $(MAKEFILE)
sub-src-qmake_all: FORCE
@$(CHK_DIR_EXISTS) src/ || $(MKDIR) src/
cd src/ && $(QMAKE) e:/qtprograms/imagesetmaker/0.1.2/imagesetmaker-0.1.2/src/src.pro -unix -o $(MAKEFILE)
sub-src: src/$(MAKEFILE) FORCE
cd src/ && $(MAKE) -f $(MAKEFILE)
sub-src-make_default: src/$(MAKEFILE) FORCE
cd src/ && $(MAKE) -f $(MAKEFILE)
sub-src-make_first: src/$(MAKEFILE) FORCE
cd src/ && $(MAKE) -f $(MAKEFILE) first
sub-src-all: src/$(MAKEFILE) FORCE
cd src/ && $(MAKE) -f $(MAKEFILE) all
sub-src-clean: src/$(MAKEFILE) FORCE
cd src/ && $(MAKE) -f $(MAKEFILE) clean
sub-src-distclean: src/$(MAKEFILE) FORCE
cd src/ && $(MAKE) -f $(MAKEFILE) distclean
sub-src-install_subtargets: src/$(MAKEFILE) FORCE
cd src/ && $(MAKE) -f $(MAKEFILE) install
sub-src-uninstall_subtargets: src/$(MAKEFILE) FORCE
cd src/ && $(MAKE) -f $(MAKEFILE) uninstall
(There's some more here.. .prf files and stuff
If needed, I'll paste the remaining contents too
Hmm.. 56 views and no replies, I think I'm asking too much
I've just sent the upload request with the package name 'imagesetmaker', I took a look at other apps and figured that out, sorry for asking..
Maybe I'm just worrying too much, It'll probably be easier than I think.
For reference, the original post is here:
Last edited by Berserk; 2010-08-23 at 23:19.