Code Monkey home page Code Monkey logo

minimalqml's Issues

unresolved symbols building with MinGW-w64 make.exe

Getting all your source tree and opening up your CMakeLists.txt file in Qt Creator v4.7.1, and specifying a kit for MinGW-w64,

  • the CMake parsing succeeds
  • the make fails with following unresolved symbols:
    16:21:33: Running steps for project Project...
    16:21:33: Starting: "C:\Program Files\CMake\bin\cmake.exe" --build . --target all
    [ 16%] Automatic MOC and UIC for target MinimalQml
    [ 16%] Built target MinimalQml_autogen
    [ 33%] Linking CXX executable MinimalQml.exe
    CMakeFiles\MinimalQml.dir/objects.a(main.cpp.obj):main.cpp:(.text$_ZN7QStringD1Ev[_ZN7QStringD1Ev]+0x26): undefined reference to __imp__ZN10QArrayData10deallocateEPS_yy' CMakeFiles\MinimalQml.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0x39): undefined reference to __imp__ZN12QApplicationC1ERiPPci'
    CMakeFiles\MinimalQml.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0x44): undefined reference to __imp__ZN21QQmlApplicationEngineC1EP7QObject' CMakeFiles\MinimalQml.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0x69): undefined reference to __imp__ZN4QUrlC1ERK7QStringNS_11ParsingModeE'
    CMakeFiles\MinimalQml.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0x75): undefined reference to __imp__ZN21QQmlApplicationEngine4loadERK4QUrl' CMakeFiles\MinimalQml.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0x7e): undefined reference to __imp__ZN4QUrlD1Ev'
    CMakeFiles\MinimalQml.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0x8c): undefined reference to __imp__ZN12QApplication4execEv' CMakeFiles\MinimalQml.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0x97): undefined reference to __imp__ZN21QQmlApplicationEngineD1Ev'
    CMakeFiles\MinimalQml.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0xa0): undefined reference to __imp__ZN12QApplicationD1Ev' CMakeFiles\MinimalQml.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0xb9): undefined reference to __imp__ZN12QApplicationD1Ev'
    CMakeFiles\MinimalQml.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0xcd): undefined reference to __imp__ZN21QQmlApplicationEngineD1Ev' CMakeFiles\MinimalQml.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0xdb): undefined reference to __imp__ZN4QUrlD1Ev'
    CMakeFiles\MinimalQml.dir/objects.a(qrc_qml.cpp.obj):qrc_qml.cpp:(.text+0x3f): undefined reference to qRegisterResourceData(int, unsigned char const*, unsigned char const*, unsigned char const*)' CMakeFiles\MinimalQml.dir/objects.a(qrc_qml.cpp.obj):qrc_qml.cpp:(.text+0x6f): undefined reference to qUnregisterResourceData(int, unsigned char const*, unsigned char const*, unsigned char const*)'
    CMakeFiles\MinimalQml.dir/objects.a(qrc_qml.cpp.obj):qrc_qml.cpp:(.text+0x1b): undefined reference to qUnregisterResourceData(int, unsigned char const*, unsigned char const*, unsigned char const*)' CMakeFiles\MinimalQml.dir/objects.a(qrc_qml.cpp.obj):qrc_qml.cpp:(.text.startup+0x1f): undefined reference to qRegisterResourceData(int, unsigned char const*, unsigned char const*, unsigned char const*)'
    collect2.exe: error: ld returned 1 exit status
    mingw32-make.exe[2]: *** [src\CMakeFiles\MinimalQml.dir\build.make:129: src/MinimalQml.exe] Error 1
    mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:91: src/CMakeFiles/MinimalQml.dir/all] Error 2
    mingw32-make.exe: *** [Makefile:83: all] Error 2
    16:21:34: The process "C:\Program Files\CMake\bin\cmake.exe" exited with code 2.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.