Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Error: ":\Qt\6.7.3\android_arm64_v8a\include\QtCore\qnamespace.:24:1: error: error: Parse error at "__attribute__""
Forum Updated to NodeBB v4.3 + New Features

Error: ":\Qt\6.7.3\android_arm64_v8a\include\QtCore\qnamespace.:24:1: error: error: Parse error at "__attribute__""

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
6 Posts 2 Posters 275 Views
  • 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.
  • V Offline
    V Offline
    VITORdk
    wrote on 19 Feb 2025, 13:52 last edited by VITORdk
    #1

    I open a new file, and only select to load this file through Clang arm64-v8a. The file is empty, it has no code errors, but this error ": \ Qt \ 6.7.3 \ android_arm64_v8a \ include \ QtCore \ qnamespace.: 24: 1: erro: erro: Erro de análise em "attribute""always appears. I have already done several compatibility checks between the system and I have not found any problems. My qt is 6.7.3, my NDK is 28.0.12433566, JDK 17.0.10, and API 34. Does anyone know how to solve this problem?

    J 1 Reply Last reply 19 Feb 2025, 13:58
    0
    • V VITORdk
      19 Feb 2025, 13:52

      I open a new file, and only select to load this file through Clang arm64-v8a. The file is empty, it has no code errors, but this error ": \ Qt \ 6.7.3 \ android_arm64_v8a \ include \ QtCore \ qnamespace.: 24: 1: erro: erro: Erro de análise em "attribute""always appears. I have already done several compatibility checks between the system and I have not found any problems. My qt is 6.7.3, my NDK is 28.0.12433566, JDK 17.0.10, and API 34. Does anyone know how to solve this problem?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 19 Feb 2025, 13:58 last edited by
      #2

      @VITORdk Not sure I understand. Do you mean you're trying to build a project and get a compiler error? Can you post the whole error, so that we can see from where in your code it is coming?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • V Offline
        V Offline
        VITORdk
        wrote on 19 Feb 2025, 14:03 last edited by
        #3

        What happens is that I open a new empty file, and I can't upload it to my cell phone due to this error. The full error that the compiler reports is this: ":/Qt/6.7.3/android_arm64_v8a/include/QtCore/qnamespace.:24:1: error: Parse error at "attribute"
        make: *** [Makefile:685: moc_mainwindow.cpp] Error 1
        10:38:46: The process "C:\Users\vitor\AppData\Local\Android\Sdk\ndk\28.0.12433566\prebuilt\windows-x86_64\bin\make.exe" exited with code 2.
        Error while building/deploying project testeAtulizado_8 (kit: Android Qt 6.7.3 Clang arm64-v8a)
        When executing step "Make"" What can I do to solve this error?

        J 1 Reply Last reply 19 Feb 2025, 14:07
        0
        • V VITORdk
          19 Feb 2025, 14:03

          What happens is that I open a new empty file, and I can't upload it to my cell phone due to this error. The full error that the compiler reports is this: ":/Qt/6.7.3/android_arm64_v8a/include/QtCore/qnamespace.:24:1: error: Parse error at "attribute"
          make: *** [Makefile:685: moc_mainwindow.cpp] Error 1
          10:38:46: The process "C:\Users\vitor\AppData\Local\Android\Sdk\ndk\28.0.12433566\prebuilt\windows-x86_64\bin\make.exe" exited with code 2.
          Error while building/deploying project testeAtulizado_8 (kit: Android Qt 6.7.3 Clang arm64-v8a)
          When executing step "Make"" What can I do to solve this error?

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 19 Feb 2025, 14:07 last edited by
          #4

          @VITORdk said in Error: ":\Qt\6.7.3\android_arm64_v8a\include\QtCore\qnamespace.:24:1: error: error: Parse error at "__attribute__"":

          What happens is that I open a new empty file, and I can't upload it to my cell phone due to this error

          You want to "upload" an empty file to your phone?!
          I don't understand what you're trying to achieve.
          Are you familiar with programming?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • V Offline
            V Offline
            VITORdk
            wrote on 19 Feb 2025, 14:16 last edited by
            #5

            I've been programming for some time. I was loading applications normally for the cell phone, I needed to format my computer, after that I couldn't load any more applications for my cell phone because this error always appeared. So I reduced my file to an empty file, but this error continues. The fact is that regardless of what I have in my file it always gives this error. What should be the problem?

            J 1 Reply Last reply 19 Feb 2025, 14:24
            0
            • V VITORdk
              19 Feb 2025, 14:16

              I've been programming for some time. I was loading applications normally for the cell phone, I needed to format my computer, after that I couldn't load any more applications for my cell phone because this error always appeared. So I reduced my file to an empty file, but this error continues. The fact is that regardless of what I have in my file it always gives this error. What should be the problem?

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 19 Feb 2025, 14:24 last edited by
              #6

              @VITORdk said in Error: ":\Qt\6.7.3\android_arm64_v8a\include\QtCore\qnamespace.:24:1: error: error: Parse error at "__attribute__"":

              So I reduced my file to an empty file

              You can't compile an empty file. Also, I guess your project consists of more than just an empty file.
              Please provide more information, else nobody knows what you're doing and what the problem is.
              Did you try to create a new widget project in QtCreator and build it for Android?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              1/6

              19 Feb 2025, 13:52

              • Login

              • Login or register to search.
              1 out of 6
              • First post
                1/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved