Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. link error
    Log in to post

    • UNSOLVED use of STL causing LINK2019 linker error
      General and Desktop • link error stl • • jonah765  

      4
      0
      Votes
      4
      Posts
      204
      Views

      @jonah765 said in use of STL causing LINK2019 linker error: Thanks a lot for your response, I appreciate the effort, but the error was in the end something trivial. ... and would you like to share the trivial solution? It might help later readers. Thanks
    • SOLVED How Can I link custom .dylib library in to another project in iOS?
      3rd Party Software • macos link error 3rd party dylib • • Yash001  

      4
      0
      Votes
      4
      Posts
      2514
      Views

      @SGaist Thank you sir for your advise. I solve this issue. By mistake, I put the " \ (backward slash)" before LIBS variable in ChargeDischarge2 .pro file. Now project ChargeDischarge2 is build.
    • SOLVED How to link an .obj-File in the build process of Qt (qmake)
      General and Desktop • link error link .obj file • • MarekG  

      13
      0
      Votes
      13
      Posts
      5091
      Views

      @mranger90 said in How to link an .obj-File in the build process of Qt (qmake): Does adding something like this to your profile work ? OBJECTS_DIR += $$PWD OBJECTS += objtest.o Obviously I tried this on Linux, so drop the ".o" and you may need to replace it with ".obj" Hi @mranger90, ni4882.obj is not really a object, but a linker input file. The real functions are in ni4882.dll. So using LIBS is the correct way, the only strange thing is that the linker input file uses the extension .obj. But this can easily be fixed by renaming. Regards.
    • SOLVED Link error: QMetaObject with cmake when compiling VTK example
      General and Desktop • qt5 cmake qmetaobject vtk link error • • gde23  

      2
      0
      Votes
      2
      Posts
      1329
      Views

      Found the error myself. In the include dir there still was the file vtkGUISupportQtModule.h from the vtk-build included which defines VTKGUISUPPORTQT_EXPORT __declspec(dllexport) now its working
    • SOLVED How to include shared code/headers from another directory? /src/widget/ using /src/common/
      General and Desktop • c++ inheritance dependencies include link error • • StevenFS  

      5
      0
      Votes
      5
      Posts
      11563
      Views

      @SGaist I sincerely want to thank you for your help! This project took six-months and your assistance was crucial in getting over the goal line in the final week. If I missed that hard deadline my six-month contract-to-hire would have been terminated. Partly because of your assistance I made it work and was hired full-time permanent! We shipped Version 1.0 and two weeks later I delivered a significant V1.1 follow up!. I momentarily had it setup as a (static?)linked library but backtracked to direct #includes from the /common/ folder, mainly because I understood it better. I intend to switch again to the library method because of compile times as you suggested. I was also scared off by an article suggesting I would need to add C++ #EXTERN statements, etc. to create a public interface for the library. Is that true, or can the .pro/.pri files define that folder as a library with NO changes to the C++? I still have to migrate *.qml files to the /common/ but I assume it's basically the same pattern as the C++. I haven't replied because I thought I had more questions but the project has been moving too rapidly. Thank you!
    • UNSOLVED Weird linking errors using Qt,ROS and cmake
      General and Desktop • cmake libraries link error ros • • wicked88  

      3
      0
      Votes
      3
      Posts
      2208
      Views

      Thanks ! Yes, i have some stuff that doesnt quite need to be there, but it doesnt hurt. I removed all possible linkings and made them "hardcoded". If i add blackflycam.cpp to the sources, therefore it is compiled, i get those errors. If i dont, all runs smooth. The thing is, the code that i replaced with that file, has the exact same includes and non of them are qt-related, so i dont know what the hell is going on here !
    • UNSOLVED Linking problem with Vlc Qt library
      General and Desktop • vlc-qt link error msvc12 • • AyushExel204  

      9
      0
      Votes
      9
      Posts
      4845
      Views

      Sounds like what I said earlier - the vlc dll was probably compiled with different Qt version than what you're using in your project. These need to match.
    • SOLVED [SOLVED] Link error - Undefined reference
      Installation and Deployment • compilation link error • • Calivernon  

      9
      0
      Votes
      9
      Posts
      5494
      Views

      That's a good news but still a strange mystery… By the way, no need to modify the thread title, you can mark it as solved using the "Topic Tool" button :)