Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Behind the Scenes
  3. Qt.io webservices
  4. [CLOSED] help with using Qt 5.3.0 REALLY CONFUSED!
Forum Updated to NodeBB v4.3 + New Features

[CLOSED] help with using Qt 5.3.0 REALLY CONFUSED!

Scheduled Pinned Locked Moved Qt.io webservices
1 Posts 1 Posters 1.0k 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.
  • S Offline
    S Offline
    ss1306
    wrote on last edited by
    #1

    I have just started trying to learn using Qt for embedded Linux development and I am trying to run the provided examples and demos by QT on the TI Sitara AM335x board from Qt Creator. I used the online installer to install Qt on Ubuntu and then using the documentation provided on TI http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Hands_on_with_QT I have managed to establish remote connection with Sitara and run a basic hello world program and webview using tabs as documented in the link.

    While trying to run the sample demos or examples provided , i configure the projects with the same settings I used for the above projects. On building and deployment they never seem to run. One of the errors was - /home/siddarth/Qt/Examples/Qt-5.3/widgets/widgets/calculator/button.cpp:41: error: QtWidgets: No such file or directory

    I copied the QTWidgets folder from the lib in the QTfolder to the libraries in qtopia folder in Ti Sitara location that were being used by GDB and the GCC. I also copied the QT Core fodler but now I am getting the error - /opt/ti-sdk-am335x-evm-07.00.00.00/linux-devkit/sysroots/cortexa8hf-vfp-neon-3.8-oe-linux-gnueabi/usr/include/qtopia/QtCore/qglobal.h:1030: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC or -fPIE."

    Can someone please help me as to what i am doing wrong!?

    [andreyc EDIT] Please do not duplicate the questions. I've closed this one.
    See http://qt-project.org/forums/viewthread/43969/

    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