Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Build From Source Succeeds, But No Makefile Generated

Build From Source Succeeds, But No Makefile Generated

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 2.1k Views
  • 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
    WickedOne612
    wrote on last edited by
    #1

    Hey all,

    I need to build Qt 5.2.1 from source and cross compile it for arm i.MX6 in order to deploy application to my Yocto board (Wandboard Dual). I am building to cross compile with the Yocto master branch. I'm running into an issue when trying to build the source with the cross compiler. I downloaded qt-everywhere-opensource-5.2.1 "here":http://download.qt-project.org/official_releases/qt/5.2/5.2.1/single/. I then ran this command to configure it:

    @./configure -v -dont-process -opensource -confirm-license -device imx6 -device-option CROSS_COMPILE=/opt/poky/1.5+snapshot/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-linux-gnueabi- -sysroot /home/jay/master-qt-yocto/build/tmp/sysroots/wandboard-dual -prefix ~/master-qt5arm -platform linux-g++ -shared -no-pch -no-rpath -pkg-config -no-accessibility -no-dbus -no-icu -no-directfb -evdev -no-fontconfig -no-opengl -opengl es2 -eglfs -no-glib -no-gtkstyle -no-iconv -system-libjpeg -no-kms -system-libpng -no-linuxfb -no-mitshm -no-nis -openssl -qt-pcre -release -no-sm -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds -nomake tests -tslib -libudev -widgets -no-xcb -no-xcursor -no-xfixes -no-xinerama -no-xinput -no-xinput2 -no-xkb -no-xrandr -no-xrender -no-xshape -no-xsync -no-xvideo -system-zlib@

    This results in "this":http://pastebin.com/nzS9gZGP output.

    After running this command, It apparently succeeds, yet there is no makefile generated. So trying to run make: *** No targets specified and no makefile found. Stop.d and no makefile found. Stop.@

    As you can see, there are some errors compiling some of the files. Those errors occur when I try and build 5.1.1 as well, but it succeeds in generating a makefile and I am able to make the source and install successfully.

    Does anyone know why it isn't generating a makefile?

    Thank you!

    1 Reply Last reply
    0
    • S Offline
      S Offline
      smarky
      wrote on last edited by
      #2

      Hello,
      Just remove the : -dont-process and you shall be fine.

      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