Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How should I import my project?
Forum Updated to NodeBB v4.3 + New Features

How should I import my project?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 265 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.
  • I Offline
    I Offline
    Ibrahim
    wrote on last edited by
    #1

    I want to import gdnative project from Qt Crator.
    These are the structure of my project:
    alt text
    alt text
    I import this project. But, I get this error when I compile the project:
    alt text
    This is my .pro file:

    TEMPLATE = app
    CONFIG += console
    CONFIG -= app_bundle
    CONFIG -= qt
    
    SOURCES += \
            src\test.c
    
    DISTFILES += \
        godot-headers/.gitattributes \
        godot-headers/LICENSE.md \
        godot-headers/README.md \
        godot-headers/api.json \
        godot-headers/gdnative_api.json \
        godot-headers/images/.gdignore \
        godot-headers/images/faq/create_dlscript.png \
        godot-headers/images/faq/dllibrary_create_new_dllibrary.png \
        godot-headers/images/faq/dllibrary_create_new_resource.png \
        godot-headers/images/faq/dllibrary_save_as_resource.png \
        godot-headers/images/faq/set_script_dllibrary.png \
        test-gdnative/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.md5 \
        test-gdnative/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex \
        test-gdnative/default_env.tres \
        test-gdnative/icon.png \
        test-gdnative/icon.png.import \
        test-gdnative/project.godot
    
    HEADERS += \
        godot-headers/android/godot_android.h \
        godot-headers/arvr/godot_arvr.h \
        godot-headers/gdnative/aabb.h \
        godot-headers/gdnative/array.h \
        godot-headers/gdnative/basis.h \
        godot-headers/gdnative/color.h \
        godot-headers/gdnative/dictionary.h \
        godot-headers/gdnative/gdnative.h \
        godot-headers/gdnative/node_path.h \
        godot-headers/gdnative/plane.h \
        godot-headers/gdnative/pool_arrays.h \
        godot-headers/gdnative/quat.h \
        godot-headers/gdnative/rect2.h \
        godot-headers/gdnative/rid.h \
        godot-headers/gdnative/string.h \
        godot-headers/gdnative/string_name.h \
        godot-headers/gdnative/transform.h \
        godot-headers/gdnative/transform2d.h \
        godot-headers/gdnative/variant.h \
        godot-headers/gdnative/vector2.h \
        godot-headers/gdnative/vector3.h \
        godot-headers/gdnative_api_struct.gen.h \
        godot-headers/nativescript/godot_nativescript.h \
        godot-headers/net/godot_net.h \
        godot-headers/net/godot_webrtc.h \
        godot-headers/pluginscript/godot_pluginscript.h \
        godot-headers/videodecoder/godot_videodecoder.h
    

    How should I import the project in Qt Creator?

    raven-worxR 1 Reply Last reply
    0
    • I Ibrahim

      I want to import gdnative project from Qt Crator.
      These are the structure of my project:
      alt text
      alt text
      I import this project. But, I get this error when I compile the project:
      alt text
      This is my .pro file:

      TEMPLATE = app
      CONFIG += console
      CONFIG -= app_bundle
      CONFIG -= qt
      
      SOURCES += \
              src\test.c
      
      DISTFILES += \
          godot-headers/.gitattributes \
          godot-headers/LICENSE.md \
          godot-headers/README.md \
          godot-headers/api.json \
          godot-headers/gdnative_api.json \
          godot-headers/images/.gdignore \
          godot-headers/images/faq/create_dlscript.png \
          godot-headers/images/faq/dllibrary_create_new_dllibrary.png \
          godot-headers/images/faq/dllibrary_create_new_resource.png \
          godot-headers/images/faq/dllibrary_save_as_resource.png \
          godot-headers/images/faq/set_script_dllibrary.png \
          test-gdnative/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.md5 \
          test-gdnative/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex \
          test-gdnative/default_env.tres \
          test-gdnative/icon.png \
          test-gdnative/icon.png.import \
          test-gdnative/project.godot
      
      HEADERS += \
          godot-headers/android/godot_android.h \
          godot-headers/arvr/godot_arvr.h \
          godot-headers/gdnative/aabb.h \
          godot-headers/gdnative/array.h \
          godot-headers/gdnative/basis.h \
          godot-headers/gdnative/color.h \
          godot-headers/gdnative/dictionary.h \
          godot-headers/gdnative/gdnative.h \
          godot-headers/gdnative/node_path.h \
          godot-headers/gdnative/plane.h \
          godot-headers/gdnative/pool_arrays.h \
          godot-headers/gdnative/quat.h \
          godot-headers/gdnative/rect2.h \
          godot-headers/gdnative/rid.h \
          godot-headers/gdnative/string.h \
          godot-headers/gdnative/string_name.h \
          godot-headers/gdnative/transform.h \
          godot-headers/gdnative/transform2d.h \
          godot-headers/gdnative/variant.h \
          godot-headers/gdnative/vector2.h \
          godot-headers/gdnative/vector3.h \
          godot-headers/gdnative_api_struct.gen.h \
          godot-headers/nativescript/godot_nativescript.h \
          godot-headers/net/godot_net.h \
          godot-headers/net/godot_webrtc.h \
          godot-headers/pluginscript/godot_pluginscript.h \
          godot-headers/videodecoder/godot_videodecoder.h
      

      How should I import the project in Qt Creator?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by raven-worx
      #2

      @Ibrahim
      add

      INCLUDEPATH += godot-headers
      

      to your .pro file

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      I 1 Reply Last reply
      2
      • raven-worxR raven-worx

        @Ibrahim
        add

        INCLUDEPATH += godot-headers
        

        to your .pro file

        I Offline
        I Offline
        Ibrahim
        wrote on last edited by Ibrahim
        #3

        Thanks. You solved the problem.

        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