×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Sep 2010
    Posts
    96

    Problem building deb package.

    In Qt Creator when I select Project Target as Maemo5 there is no option to build deb package in "Build Settings" , but I found this option in "Run Setting". I cannot use "Run on Device" to build deb as I have no access to actual device (for time being ).

    Is there any easy option to build deb package when i click "Build" in creator rather than clicking "Run".


    Even I tried "Remote Compiler" but it gave following error when is selected "Debian package using own structure" option.

    Running build steps for project ClassicRace...
    Building for Maemo 5 using Qt 4.7.0 with Mobility 1.0.2
    Uploading 62 files to Remote Compiler
    Uploaded: 16/130 kB
    Uploaded: 32/130 kB
    Uploaded: 48/130 kB
    Uploaded: 64/130 kB
    Uploaded: 80/130 kB
    Uploaded: 96/130 kB
    Uploaded: 112/130 kB
    Uploaded: 128/130 kB
    Uploaded 130 kB, waiting for build
    dpkg-buildpackage: source package is xyz
    dpkg-buildpackage: source version is 0.0.1
    dpkg-buildpackage: source changed by xyz
    dpkg-buildpackage: host architecture armel
    dpkg-buildpackage: source version without epoch 0.0.1
    : Using Scratchbox tools to satisfy builddeps
    fakeroot debian/rules clean
    dh_testdir
    dh_testroot
    rm -f build-stamp configure-stamp
    # Add here commands to clean up after the build process.
    /scratchbox/tools/bin/make clean
    make[1]: Entering directory `/media/somedir'
    make[1]: *** No rule to make target `clean'. Stop.
    make[1]: Leaving directory `/media/somedir'
    make: *** [clean] Error 2

    Build Failed: Errors in build
    Error while building project xyz (target: Remote Compiler)
    When executing build step ''

  2. #2
    Registered User
    Join Date
    Jul 2011
    Posts
    12

    Re: Problem building deb package.

    You can "Run" it even without device. It builds the deb, but of course fails to deploy it to the device. But the dep is left behind for you to use.

  3. #3
    Registered User
    Join Date
    Sep 2010
    Posts
    96

    Re: Problem building deb package.

    Quote Originally Posted by ajalkane View Post
    You can "Run" it even without device. It builds the deb, but of course fails to deploy it to the device. But the dep is left behind for you to use.
    Run button is deactivated. I can't do that

  4. #4
    Registered User
    Join Date
    Jul 2011
    Posts
    12

    Re: Problem building deb package.

    In that case set-up the QEMU emulator as given here:

    http://harmattan-dev.nokia.com/docs/...th_Qt_SDK.html

    Then you should be able to run, and it creates the deb.

Similar Threads

  1. qmake failed when building a self-signed Smart Installer package
    By haha888999 in forum [Archived] Nokia Smart Installer for Symbian
    Replies: 1
    Last Post: 2010-07-15, 09:41
  2. Replies: 5
    Last Post: 2010-04-14, 10:02
  3. iam getting error while building the package file.
    By rajeshpadhiary in forum Symbian
    Replies: 4
    Last Post: 2008-09-25, 15:06
  4. Help: Problem building 'Cheat Sheet' sample problem.
    By stevenc9 in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2008-08-21, 03:14
  5. Problem with JAR having more then one package
    By cinderella7777 in forum Mobile Java General
    Replies: 13
    Last Post: 2008-02-01, 20:43

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×