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. Compile ERROR while integrating into C++ project
QtWS25 Last Chance

Compile ERROR while integrating into C++ project

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.5k 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.
  • P Offline
    P Offline
    prakash02
    wrote on last edited by
    #1

    I am adding QT code to my C++ project ,i included all the required dll's,but i'm getting the error while compiling.

    Error 1 error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall noma::UI::SplashScreen::metaObject(void)const " (?metaObject@SplashScreen@UI@noma@@UBEPBUQMetaObje ct@@XZ)

    On removal of Q_OBJECT,it executing successfully. help me please.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcosta
      wrote on last edited by
      #2

      HI,

      build Qt Applications requires some steps such as:

      • invoke UI compiler;
      • invoke Meta Object Complier
        and so on.

      To build Qt applications I suggest you to use qmake or CMake.
      Using theese tools you can easly integrate your no Qt code.

      To Build Qt applications with standard Makefile requires an in-depth knowlegde of Qt mechanism

      Once your problem is solved don't forget to:

      • Mark the thread as SOLVED using the Topic Tool menu
      • Vote up the answer(s) that helped you to solve the issue

      You can embed images using (http://imgur.com/) or (http://postimage.org/)

      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