Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Harmattan SDK and Qt Creator integration
Forum Updated to NodeBB v4.3 + New Features

Harmattan SDK and Qt Creator integration

Scheduled Pinned Locked Moved Qt Creator and other tools
9 Posts 3 Posters 4.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dakron
    wrote on last edited by
    #1

    Hi,

    I don't know if this is the good place for this question but I'll give a try :)

    I've installed the SDK using harmattan-sdk-setup.py as described "here":http://www.developer.nokia.com/Community/Wiki/Harmattan:Platform_Guide/Getting_started_with_Harmattan_Platform_SDK/Installing_Harmattan_Platform_SDK . Everything works fine, I can run the Xephyr and compile but I am confused with Qt Creator integration "here":http://www.developer.nokia.com/Community/Wiki/Harmattan:Platform_Guide/Getting_started_with_Harmattan_Platform_SDK/Integrating_Qt_Creator_with_Scratchbox_in_Linux_environment. According to the description I need to use in the custom scirpts (sbox-run, sbox-qmake...) the path to '/usr/bin/scratchbox' which doesn't exist on my workstation (Fedora 15). Could anyone help me with that, please ? Did I miss something ?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tomma
      wrote on last edited by
      #2

      Easiest way is to use Madde SDK for Harmattan which comes with QtSDK as experimental stuff.
      I have never tried to make Qt Creator compile in SBox but those instructions looks good. You can always check where binary is with @$ whereis scratchbox@

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dakron
        wrote on last edited by
        #3

        The problem is that Harmattan QtSDK uses Qemu and it is very, very slow on my workstation and I tried with 'whereis' and 'find' and there is no scratchbox executable. It looks like chroot and sbox's bash is used in this case...

        1 Reply Last reply
        0
        • I Offline
          I Offline
          inean
          wrote on last edited by
          #4

          currently /usr/bin/scratchbox is a link to /scratchbox/login. Unfortunately, it seems like hamattan sdk intaller doesn't create it on F15. Keep in mind that, to make use of scratchbox on f15, you need to start it previously with /scratchbox/sbin/sbox_ctl start

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dakron
            wrote on last edited by
            #5

            I've tried with symbolic link to /scratchbox/login (ln -s /scratchbox/login /usr/bin/scratchbox) but I get the message "Could not determine the patch to the binaries of the Qt installation, maybe the qmake path is wrong?" when I point 'qmake location' to my /usr/bin/sbox-qmake.

            1 Reply Last reply
            0
            • I Offline
              I Offline
              inean
              wrote on last edited by
              #6

              sbox-qmake from wiki doesn't work for me. The thing is that you need to cheat qtcreator to thing that qmake is a valid one. Pastebin somewhere your sbox-qmake file and tell me if you are using qtcreator from fedora or from Nokia SDK. if so, where it's installed :)

              1 Reply Last reply
              0
              • D Offline
                D Offline
                dakron
                wrote on last edited by
                #7

                My sbox-qmake is exactly the same like from wiki (with valid SBOX_USER). I am using Qt Creator from Qt SDK installed in /home/$USER/Programs/QtSDK :)

                1 Reply Last reply
                0
                • I Offline
                  I Offline
                  inean
                  wrote on last edited by
                  #8

                  Ok. Add something like this

                  @
                  <init stuff goes here>
                  ....

                  lets check the command line arguments

                  if [ $1 == "--version" ]; then

                  lets execute the sbox-qmake -version on host machine

                  qmake $@@
                  @else
                  if [ $1 == "-query" ]; then

                  lets execute sbox-qmake -query on host machine

                  qmake $@@
                  @else
                  <scratchbox command goes here>
                  fi
                  fi
                  @
                  Also point qmake to a valid one in you are using QtSDK

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    dakron
                    wrote on last edited by
                    #9

                    The sbox-qmake called from command line works fine - --version returns installed version, -query returns correct values - but Qt Creator shows still the same error: “Could not determine the patch to the binaries of the Qt installation, maybe the qmake path is wrong?".

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved