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. [SOLVED]qmake :: error when used for target i.MX
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]qmake :: error when used for target i.MX

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 1.9k 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.
  • P Offline
    P Offline
    post4pavan
    wrote on last edited by
    #1

    Hi,

    Having built Qt for Embedded [Qt_Everywhere_Opensource] on i.MX5X successfully, an Application has been tried on Qt Creator IDE [from Qt_SDK_4.8.0] on Host-PC, with the build, qmake being done well.

    The application binary has been generated with a makefile, that uses the native-gcc as the work is being done on Host. The binary has been successfully run on the Qt_Simulator.

    Now that, I wanted to try this on Target, I did this

    Cross-Compile [ Using arm-none-linux-gnueabi- YYY ] the Project files with the qmake binary for i.MX5X

    post4pavan@ubuntu:/usr/local/Trolltech/Qt-target-version/bin$ ./qmake /home/post4pavan/Work/hi/hi.pro

    Failure to open file: /usr/local/Trolltech/Qt-target-version/bin/Makefile
    Unable to generate makefile for: /home/post4pavan/Work/hi/hi.pro

    Please Suggest!

    Qt for Embedded! INTERESTING!

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      You are trying to create your build system in /usr/local/Trolltech/Qt-target-version/bin. If you don't happen to be root (which would be stupid, root should not be used to build!), then this has to fail.

      Try running "/usr/local/Trolltech/Qt-target-version/bin/qmake ../hi/hi.pro" in /home/post4pavan/Work/hi-build instead. Does that work?

      1 Reply Last reply
      0
      • P Offline
        P Offline
        post4pavan
        wrote on last edited by
        #3

        Hi, Tobias Hunger, thank you!

        Yeah! that solution worked! and I have solved it.
        Foolish on my part to forget the basic that we should not build with in the /usr/local/....../Trolltech/.. root area.

        Thank You once again...!

        Qt for Embedded! INTERESTING!

        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