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. Building QT on windows question
Qt 6.11 is out! See what's new in the release blog

Building QT on windows question

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

    Hello friends,

    I installed a working cross compiler toolchain on Windows for BeagleBone Black and I managed to integrate all stuff in NetBeans. Now console apps are building and running just fine.

    I downloaded QT Creator and QT 4.8.5 and I'm some kind stuck to setup QT IDE, mode precisely at manual toolchain :). Can someone explain me very briefly how can I make it work?

    Thanks in advance,

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi,

      Just to confirm, you've managed to set up your cross-compiler toolchain successfully? If so, add them to Qt Creator (I'm assuming you're using the latest version, Qt Creator 3.0):

      See "Adding Compilers":http://qt-project.org/doc/qtcreator-3.0/creator-tool-chains.html to tell Qt Creator where to find your toolchain

      See "Adding Qt Versions":http://qt-project.org/doc/qtcreator-3.0/creator-project-qmake.html to tell Qt Creator where to find the Qt binaries that were cross-compiled for your BBB

      Finally, see "Adding Kits":http://qt-project.org/doc/qtcreator-3.0/creator-targets.html to tell Qt Creator how to combine your toolchain with the Qt binaries.

      P.S. It's "Qt" (lowercase 'T'). "QT" stands for Apple QuickTime.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rianovich96
        wrote on last edited by
        #3

        Hi, indeed, that's my goal :)

        I use windows XP and I'm blocked on step #2 since my compilation never start properly. In QT Creator I cannot add a kit yet.

        Now, I use GNU Make 3.82.90 from some MinGW install (I have tried many and this seems to work) and I managed to CONFIGURE using bat files (for proper path set) and indications from net. Now the make step fails at some point

        @mingw32-make -f Makefile.Release
        mingw32-make[2]: Entering directory 'C:/Qt-build/build/src/tools/uic'
        mingw32-make[2]: Nothing to be done for 'first'.
        mingw32-make[2]: Leaving directory 'C:/Qt-build/build/src/tools/uic'
        mingw32-make[1]: Leaving directory 'C:/Qt-build/build/src/tools/uic'
        cd src/corelib/ && mingw32-make -f Makefile
        mingw32-make[1]: Entering directory 'C:/Qt-build/build/src/corelib'
        C:/Qt-build/build/bin/qmake C:/Qt-build/qt-everywhere-opensource-src-4.8.5/src/c
        orelib/corelib.pro -o Makefile -spec qws/linux-am335x-g++
        Could not find mkspecs for your QMAKESPEC(qws/linux-am335x-g++) after trying:
        C:/Qt\mkspecs
        Error processing project file: C:/Qt-build/qt-everywhere-opensource-src-4.8.5/sr
        c/corelib/corelib.pro
        Makefile:2: recipe for target 'all' failed
        mingw32-make[1]: *** [all] Error 3
        mingw32-make[1]: Leaving directory 'C:/Qt-build/build/src/corelib'
        Makefile:201: recipe for target 'sub-corelib-make_default-ordered' failed
        mingw32-make: *** [sub-corelib-make_default-ordered] Error 2

        C:\Qt-build\build>pause
        Press any key to continue . . .@

        I created (copy-paste and modify) a new spec in qws/linux-am335x-g++ but for some reason, it's not found at make step.

        Some people said on net that build must be done at the same directory level than Qt src. I will try, at mine, it's one up

        c:\Qt-build
        \build
        \qt-everywhere-opensource-src-4.8.5

        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