Reply
Thread Tools
Posts: 22 | Thanked: 3 times | Joined on Jan 2010 @ India
#1
Hi all,
I am trying to create debian package of my Qt application.But All time I am getting the following error.

cd src/ && /usr/bin/qmake-qt4 /home/oneview/workspace/hh-0.1/src/src.pro -unix PREFIX=/usr -o Makefile
WARNING: Failure to find: src/main.cpp
WARNING: Failure to find: src/window.cpp
WARNING: Failure to find: src/window.h
cd src/ && /scratchbox/tools/bin/make -f Makefile
make[2]: Entering directory `/home/oneview/workspace/hh-0.1/builddir/src'
make[2]: *** No rule to make target `src/main.cpp', needed by `main.o'. Stop.
make[2]: Leaving directory `/home/oneview/workspace/hh-0.1/builddir/src'
make[1]: *** [sub-src-make_default] Error 2
make[1]: Leaving directory `/home/oneview/workspace/hh-0.1/builddir'
make: *** [build-stamp] Error 2
I tried the link below for creating the package
http://wiki.maemo.org/Packaging_a_Qt..._qmake_project

How can I solve this issue?

awaiting for response.
Thanks
remyag
 
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#2
Hi,

do you have your sources somewhere available?

Daniel
 
Posts: 22 | Thanked: 3 times | Joined on Jan 2010 @ India
#3
Originally Posted by danielwilms View Post
Hi,

do you have your sources somewhere available?

Daniel
Yes,My sources are in src folder
 
Posts: 415 | Thanked: 732 times | Joined on Jan 2009 @ Finland
#4
Originally Posted by remyag View Post
Yes,My sources are in src folder
I think Daniel was asking that are the sources in some place where others can take a look at them (public version control, etc.) and see what is the problem and help you. Without seeing the code it's hard to tell why the packaging doesn't work for you.

Edit: For reference you can take a look a project of mine. It has working packaging for a Qt application. https://garage.maemo.org/plugins/scm...?root=impuzzle

Last edited by timoph; 2010-06-08 at 14:29.
 

The Following 2 Users Say Thank You to timoph For This Useful Post:
Posts: 22 | Thanked: 3 times | Joined on Jan 2010 @ India
#5
Originally Posted by timoph View Post
I think Daniel was asking that are the sources in some place where others can take a look at them (public version control, etc.) and see what is the problem and help you. Without seeing the code it's hard to tell why the packaging doesn't work for you.

Edit: For reference you can take a look a project of mine. It has working packaging for a Qt application. https://garage.maemo.org/plugins/scm...?root=impuzzle
I was able to create package with the help of your project .
problem was in src.pro and control file ,issue was solved.

Thank you

remyag.
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:21.