Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Qt Creator doesn't know how to expose different libraries to your projects. It's developer's duty. Dependency ensures only that mentioned projects are already built before building your main project.</p> <p>Your real concern was using Qxt without proper installation. Assuming that <code>configure</code> have been run and <code>libqxt</code> have been built (using Qt Creator or manually via <code>qmake</code>+<code>make</code>), my solution is adding following snippet (with obvious QXT_DIR customization) to .pro file:</p> <pre><code>QXT_DIR = $${IN_PWD}/../libqxt-0.5.1 LIBS += -L$${QXT_DIR}/deploy/libs INCLUDEPATH += $${QXT_DIR}/deploy/include for(module, QXT) { MODNAME = $$upper($$replace(module, "(.).*", "\1"))$$replace(module, "^.", "") INCLUDEPATH += $${QXT_DIR}/deploy/include/Qxt$${MODNAME} INCLUDEPATH += $${QXT_DIR}/src/$${module} win32:CONFIG(debug, debug|release):MODNAME = $$join(MODNAME,,,d) LIBS += -lQxt$${MODNAME} } </code></pre> <p>Unfortunately I'm not sure whether it works in complex projects.</p> <p>By default Qxt is built in release mode, but Qt Creator uses debug mode and it leads to broken binaries of projects depending on Qxt under Windows. You have to switch your project to release mode or build Qxt in debug mode (run <code>configure -debug</code> and rebuild Qxt).</p> <p>Last thing: In Windows you won't be able to run your project from Qt Creator even if you successfully build it. You must copy needed <code>Qwt*.dll</code> files (use the <code>d</code>-suffix versions if you're in debug mode) from <code>libqxt-0.5.1/deploy/libs</code> to <code>your_project/(release|debug)</code> directory .</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload