1. qtd
  2. repo
  3. Issues
Issue #3 new

Make error in QAbstractItemModel_shell.cpp

Anonymous created an issue

Ubuntu 12.04 AMD64: $ make -- D compiler found -- DMD64 D Compiler v2.059 -- Found Qt4: /usr/bin/qmake (found version "4.8.1") -- Configuring done -- Generating done -- Build files have been written to: /home/.../qtd/build_dir/build [0%] Building CXX object CMakeFiles/cpp_core.dir/cpp/qt_core/QAbstractItemModel_shell.cpp.o and oops... error message

Comments (5)

  1. Michael Rynn

    Build systems are getting way too complicated, compilers and languages always getting stricter. I changed the "errors" into "warnings" by adding one line to the root CMakeLists.txt , the 3rd line just below PROJECT ... cmake_minimum_required(VERSION 2.6) PROJECT(qtd CXX C) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive") ... and running cmake again. Next error qt/core/QCoreApplication.d(69) Error: undefined identifier ApplicationFlags

  2. Michael Rynn

    Grep found this in the .preprocessed.tmp

    enum { ApplicationFlags = 0x040803

    83 "/usr/include/QtCore/qcoreapplication.h"

    | 0x01000000

    85 "/usr/include/QtCore/qcoreapplication.h"


    Just stuck enum in generated QCoreApplication.d

    Now get /home/michael/D/qtd/d2/qt/core/QMetaObject.d(189): Error: cannot implicitly convert expression (super.base()) of type qtd.meta.Runtime.MetaClass to qt.core.QMetaObject.QMetaObject

  3. Michael Rynn

    Stuck cast(This) for return, since no idea what the runtime intention is. In d2/qt/opengl/glu.d(185): Error: use of typedef is deprecated; use alias instead This code is becoming a time machine. Used alias.

    Build completed.

  4. Log in to comment