Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-141143

桌面应用项目编译报错

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.15.8
    • Build tools: moc
    • Mac电脑系统信息:
      型号:MacBook Pro
      系统版本:macOS Sequoia 15.1

      Qt 信息:
      1. Creator(IDE)开发工具
      版本:Qt Creator 6.0.2
      Based on Qt 6.2.2 (Clang 12.0 (Apple), 64 bit)
      2. Qt 库(Library)
      版本:Qt 5.15.8
    • macOS

      项目编译报错的问题

      问题1:
      /Users/sanchain/Desktop/jvcplay/build-GPSPlayer_KENWOOD-Desktop_Qt_5_15_8_clang_64bit-Debug/moc_mapwebview.cpp:141: error: call to non-static member function without an object argument
      moc_mapwebview.cpp:141:28: error: call to non-static member function without an object argument
        141 |     return QWebEngineView::qt_metacast(_clname);
            |            ~~~~~~~~~~~~~~~^~~~~~~~~~

       

      问题2:
      /Users/sanchain/Desktop/jvcplay/build-GPSPlayer_KENWOOD-Desktop_Qt_5_15_8_clang_64bit-Debug/moc_mapwebview.cpp:146: error: call to non-static member function without an object argument
      moc_mapwebview.cpp:146:27: error: call to non-static member function without an object argument
        146 |     _id = QWebEngineView::qt_metacall(_c, _id, _a);
            |           ~~~~~~~~~~~~~~~^~~~~~~~~~

      问题3:
      :-1: error: [moc_mapwebview.o] Error 1
       

        1. rebuild-error.png
          rebuild-error.png
          338 kB
        2. rebuild-error2.png
          rebuild-error2.png
          243 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            fabiankosmale Fabian Kosmale
            yangbin Bin Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes