Results 1 to 2 of 2

Thread: Qt has not been ported to this OS

  1. #1
    Join Date
    Nov 2015
    Posts
    1

    Default Qt has not been ported to this OS

    I'm trying to compile my c++ project with Cross ARM GCC in eclipse.

    I click Build All in eclipse and I get:

    16:56:22 **** Incremental Build of configuration Release for project TestProject ****
    make all
    Building file: ../src/main.cpp
    Invoking: Cross ARM C++ Compiler
    arm-none-eabi-g++ -mcpu=cortex-m3 -mthumb -O2 -g -I/usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -std=gnu++11 -fabi-version=0 -MMD -MP -MF"src/main.d" -MT"src/main.o" -c -o "src/main.o" "../src/main.cpp"
    In file included from /usr/include/qt4/QtCore/qnamespace.h:45:0,
    from /usr/include/qt4/QtCore/qobjectdefs.h:45,
    from /usr/include/qt4/QtGui/qwindowdefs.h:45,
    from /usr/include/qt4/QtGui/qwidget.h:46,
    from /usr/include/qt4/QtGui/qmainwindow.h:45,
    from /usr/include/qt4/QtGui/QMainWindow:1,
    from ../src/mainwindow.h:4,
    from ../src/main.cpp:14:
    /usr/include/qt4/QtCore/qglobal.h:268:4: error: #error "Qt has not been ported to this OS - talk to qt-bugs@trolltech.com"
    # error "Qt has not been ported to this OS - talk to qt-bugs@trolltech.com"
    ^
    make: *** [src/main.o] Error 1

    16:56:23 Build Finished (took 469ms)

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt has not been ported to this OS

    So, for which operating system are you trying to build for?

    The include paths look a bit suspect, as if they were from a local Linux/Unix system and not for the cross compiler.

    Cheers,
    _

Similar Threads

  1. Replies: 2
    Last Post: 26th July 2014, 16:36
  2. problem with ported canvas example
    By bajarangi in forum Newbie
    Replies: 2
    Last Post: 29th July 2009, 22:30
  3. Replies: 0
    Last Post: 2nd February 2009, 14:24
  4. Elite remake ported to Qt
    By zelko in forum Qt-based Software
    Replies: 0
    Last Post: 17th March 2008, 00:49
  5. Replies: 2
    Last Post: 8th February 2008, 14:31

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.