Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Error compiling with blank file!!

Error compiling with blank file!!

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
androidqt5.14.2
3 Posts 2 Posters 429 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.
  • R Offline
    R Offline
    RenanHm
    wrote on 8 Oct 2022, 14:43 last edited by
    #1

    Hi, I have a strange situation..
    I use QT 5.14.2 and I'm trying to compile an application for Android.

    When including a ".h" file in the project, the following error occurs:

    erro.png

    The "Util" class was initially of type "QObject". But to try to find out the problem I was commenting the whole file.. until the file was completely blank.
    Even with the blank file, the above error occurs.

    It doesn't seem to be generating the lib "libTotalLocApp_arm64-v8a.so.Arm64-v8a" and therefore not found.

    I have the following configuration:

    config.png

    What could be causing this error?
    Any wrong QT settings??

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 8 Oct 2022, 18:35 last edited by
      #2

      The error appears to be completely unrelated to util.cpp.

      Try a complete rebuild (clean, run qmake, rebuild).

      (Z(:^

      1 Reply Last reply
      0
      • R Offline
        R Offline
        RenanHm
        wrote on 8 Oct 2022, 19:26 last edited by
        #3

        A complete compilation has already been performed several times.

        I can not include a new class in the project.. or even a blank file that this error occurs.

        Will the SDK, NDK and JDK settings be correct?

        1 Reply Last reply
        0

        1/3

        8 Oct 2022, 14:43

        • Login

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