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. QT nmake exception “Undefined Interface” at QTCharts “cartesianchartaxis_p.h”
Forum Updated to NodeBB v4.3 + New Features

QT nmake exception “Undefined Interface” at QTCharts “cartesianchartaxis_p.h”

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 2 Posters 537 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.
  • T Offline
    T Offline
    TempBox
    wrote on last edited by
    #1

    I'm trying to use QTCharts 2.1.0 for QT 5.4.1 version. I use opensource QT and tried to install QTCharts as the instructions shown in this qtcharts github release-2.1.0 link

    I build without any problems but when I try to run it with nmake I get the exception shown belown and I genuinely have no idea about the reason. So, I'd appreciate any help. I'm using VS2012 x86 Native Tools Command Prompt btw.

    Exception:

    C:\Qt\Qt5.4.1\5.4\msvc2012_opengl\bin\moc.exe -DUNICODE -DWIN32 -DQT_CHA
    RTS_LIBRARY -DQT_BUILD_CHARTS_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_
    USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT
    -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=
    0x040800 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_COR
    E_LIB -DNDEBUG -D_MSC_VER=1700 -D_WIN32 @.moc/release/mocinclude.tmp axis\cartes
    ianchartaxis_p.h -o .moc\release\moc_cartesianchartaxis_p.cpp
    axis\cartesianchartaxis_p.h(44): Error: Undefined interface
    NMAKE : fatal error U1077: 'C:\Qt\Qt5.4.1\5.4\msvc2012_opengl\bin\moc.exe' : ret
    urn code '0x1'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0
    \VC\BIN\nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      What exactly did you build ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • T Offline
        T Offline
        TempBox
        wrote on last edited by
        #3

        QtCharts,

        I did qmake CONFIG+="debug_and_release build_all" and after that Qtcharts quide says I need to do make/nmake but when I did I've got the error shown in the question

        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