⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

[CLOSED] help with using Qt 5.3.0 REALLY CONFUSED!

  • 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- 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/

Log in to reply