element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development Run QT Software on Linaro
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 8 replies
  • Subscribers 328 subscribers
  • Views 758 views
  • Users 0 members are here
Related

Run QT Software on Linaro

Former Member
Former Member over 13 years ago

I want to design a software with GUI and let it execute on my zed. So I have gotten a Linaro running on zed and a application designed with QT.

Now my question is how to compile and execute this app. Should I use the arm-xilinx cross-compiler? Any libs or sources of QT should I add in the Linaro rootfs? Can a QT Creator run on a zedboard with Linaro just like it runs on the PC with Ubuntu?

Does anybody konw the answers?

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    0 Former Member over 13 years ago

    It appears that you can just point QT Creator to a different compiler.  Ref link:

    http://doc.qt.digia.com/4.7-snapshot/qt-embedded-crosscompiling.html

    You can set QT to compile all of the libraries into your binary if you want, or you can copy all of the libraries you are using to your roomfs (I would recommend the former).

    I would not recommend running QT Creator on the zedboard itself, as you are not going to get any where near the performance of your PC.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 13 years ago in reply to Former Member

    Thanks for your advices, Tim.
    If I want to compile the QT app, which cross-compiler should I use, The arm-xilinx-linux-gnueabi or Linaro toolchain? I was trying to compile an app using Xilinx toolchain and it failed to run on Linaro. So I guess the latter can be used to do the job. And is that possible to install the Qt-lib on Linaro derectly so that I can both complie and run Qt apps on my zed?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 13 years ago in reply to Former Member

    You certainly could get the qt compiler and associated libraries moved over to your Zedboard if you wanted to - I personally prefer to cross-compile as it usually is much faster (but if you are talking about small applications then it really shouldn't make much of a difference).

    As for which cross compiler to use, I have had the most luck with the arm-xilinx-linux-gnueabi toolchain - but I haven't compiled a qt program yet.

    Give them both a shot and let us know which one works!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 13 years ago in reply to Former Member

    You certainly could get the qt compiler and associated libraries moved over to your Zedboard if you wanted to - I personally prefer to cross-compile as it usually is much faster (but if you are talking about small applications then it really shouldn't make much of a difference).

    As for which cross compiler to use, I have had the most luck with the arm-xilinx-linux-gnueabi toolchain - but I haven't compiled a qt program yet.

    Give them both a shot and let us know which one works!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube