Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. make check not working
Forum Updated to NodeBB v4.3 + New Features

make check not working

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 490 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.
  • C Offline
    C Offline
    cOld
    wrote on last edited by
    #1

    Hi all,
    this is my project structure:

    project.pro (subdirs template which link to project_lib.pro and project_ut.pro)
    \include
    \src
    project_lib.pro (create a dynamic library with DESTDIR set as $$PWD/../lib)
    \lib
    \test
    project_ut.pro (project with ut with CONFIG += testcase, qt += testlib, LIBS+=-L$$PWD/../lib and DESTDIR=$$PWD/../run)
    \run

    when I run "make check" the execution of the unit test does not start since it does not found the dll which indeed is not in the same folder

    Is there a way to execute the tests with make check without a manual copy of the dll?
    Note I'm working with qt5.5. on both windows and mac

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      For Windows, either modify the PATH environment variable for the check part to also point the to the folder where your DLLs are or put the tests destination folder in the same folder as the DLLs

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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