Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. About Embedded Widget Demos
Forum Updated to NodeBB v4.3 + New Features

About Embedded Widget Demos

Scheduled Pinned Locked Moved Mobile and Embedded
12 Posts 3 Posters 5.5k 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.
  • W Offline
    W Offline
    Weilly
    wrote on last edited by
    #3

    Dear Scylla,

    Thank you for your reply.
    I just saw the video demo for Windows, Linux/X11 , and WinCE, so I am not sure whether this project can build for Qt Embedded.

    I try to rebuild this project for Windows, Linux/X11 and WinCE. It works. However, I have trouble for Embedded Linux. I can successfully build this project under Qt Embedded platform however I download it to my target device and run. It shows some error as below:

    catalog: line 1: ELF@@@@@@@@@@: not found
    catalog: line2: syntax error: word unexpected (expecting ">")

    I think I must loss some steps to deploy the executable file. Could you give me some hints.

    Best regards,
    Weilly

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Scylla
      wrote on last edited by
      #4

      How did you compile the Qt Embedded libs (which target, which toolchain a.s.o)?
      You have to compile your app with the same toolchain and libs!

      1 Reply Last reply
      0
      • W Offline
        W Offline
        Weilly
        wrote on last edited by
        #5

        My target is Linux running on a ARM9.
        My PC is Ubuntu 10.10.

        The toolchain version is:
        http://www.codesourcery.com/public/gnu_toolchain/arm-none-linux-gnueabi/arm-2007q1-10-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2

        I try to configure my Qt Embedded using below command:
        ./configure -static -embedded arm -xplatform qws/linux-arm-g++ -v

        I am not sure if I use right ./configure for Qt Embedded?! Thank you!

        1 Reply Last reply
        0
        • W Offline
          W Offline
          Weilly
          wrote on last edited by
          #6

          Finally, I soved this problem. Thank you, Scylla. I can build this project and deploy it to me target device. Now I have to do is to make touch screen works.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Scylla
            wrote on last edited by
            #7

            Sorry for the late response. Ok you solved the problem. What I have done is to put the widgets in seperate lib and use them. So do not have to handle with the *.pri files.

            For our device I made a touch driver. At first you should try the "drivers":http://pepper.troll.no/s60prereleases/doc/qt-embedded-pointer.html shiped with Qt.

            1 Reply Last reply
            0
            • W Offline
              W Offline
              Weilly
              wrote on last edited by
              #8

              Thank you for your response. I am trying tslib from http://tslib.berlios.de/ . Have any comment for this? Thank you.

              1 Reply Last reply
              0
              • B Offline
                B Offline
                brijeshvpatel
                wrote on last edited by
                #9

                In tslib you can take care about following things;

                • Configure and build QtEmbedded with support of your tslib built directory

                • Take care about following export macros in target machine

                export TSLIB_TSDEVICE=/dev/input/event1
                export TSLIB_PLUGINDIR=/opt/tslib_build/lib/ts
                export TSLIB_CONSOLEDEVICE=none
                export TSLIB_CALIBFILE=/etc/pointercal
                export TSLIB_FBDEVICE=/dev/fb0
                export TSLIB_CONFFILE=/opt/tslib_build/etc/ts.conf

                • Take care about pointercal

                • Take care about framebuffer rotation

                Brijesh

                1 Reply Last reply
                0
                • W Offline
                  W Offline
                  Weilly
                  wrote on last edited by
                  #10

                  Thank you, Brijesh. Actually, I have adjusted these parameters you said above. However, I met an error message "Segmentation fault". I am not sure what happened.

                  1 Reply Last reply
                  0
                  • B Offline
                    B Offline
                    brijeshvpatel
                    wrote on last edited by
                    #11

                    Hi Weilly,

                    Can you tell me where exactly you are getting Segmentation Fault? Can you describe your issue?

                    Brijesh

                    1 Reply Last reply
                    0
                    • W Offline
                      W Offline
                      Weilly
                      wrote on last edited by
                      #12

                      Hi Brijesh,

                      I am sorry for the late response. Now, I try early version of tslib to build this project. It works. I don't know why using tslib v1.0 will cause "Segmentation fault" but the early version won't at my target.

                      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