Navigation

    Qt Forum

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

    • UNSOLVED Cross Compile fails while building tools (moc)
      Installation and Deployment • cross compile moc includepath tools • • dogisfat  

      2
      0
      Votes
      2
      Posts
      858
      Views

      I was able to fix the problem by adding this to the qmake.conf file for the device: QMAKE_INCDIR_QT += $$[QT_INSTALL_HEADERS]
    • SOLVED gui compilation doesn't find opengl includes
      Mobile and Embedded • opengl includepath compiler error • • shlomiag  

      2
      0
      Votes
      2
      Posts
      831
      Views

      solved it by doing: sudo apt-get install mesa-common-dev and by removing and copying over src/gui dir
    • SOLVED [solved] Impossible to include OpenCV path
      General and Desktop • qmake opencv includepath • • Gmember  

      9
      0
      Votes
      9
      Posts
      11365
      Views

      dll paths do not influence the build so they are not included in qmake. if you use QtCreator in the right bar select project and in the build and run tab, select the run subtab and you can customise the run environment adding the paths of the dlls to the run environment PATH otherwise you can use the INSTALLS of qmake to deploy all the binaries where you need them
    • QtCreator and environment variable in INCLUDEPATH
      Tools • qtcreator includepath environment var • • achard.ju  

      10
      0
      Votes
      10
      Posts
      13230
      Views

      One alternative would be to create your own function that does that parsing and use it like: INCLUDEPATH += $ $parseEnvVariable(ENV_VAR) That way if you change the formatting of your environment variables you only have to update the code in one place.
    • UNSOLVED Includepath / cannot open include file
      Installation and Deployment • qt creator debug include includepath release mode • • Benjamin07  

      11
      0
      Votes
      11
      Posts
      9882
      Views

      Dear all, Juste an update on this issue for anyone it could help. The issue came from the INCPATH section of the makefile. Though similar beetween makefile.debug and makefile.release it seems that the compiler (or linker) could not interpret relative path ('../../../') when in release mode (whereas it works ok in debug). I could not find a solution to directly fix this issue so I now modify the makefile once created/updated in order to replace occurences of relative paths by absolute path. This is done using a batch file that I execute after the qmake.exe step (step added in the compilation steps of the project configuration) Thanks to those who tried to help
    • I've set the includepath to QtCore in pro file but that doesn't work and includes still give error
      General and Desktop • c++ qtcreator windows qmake qt5.4 qtcore includepath pro • • carlos91moreira  

      4
      0
      Votes
      4
      Posts
      2443
      Views

      Easy: just edit the thread title and prepend [solved] :)
    • another "No such file or directory" error
      General and Desktop • qt5 qt creator includepath • • walkerlala  

      2
      0
      Votes
      2
      Posts
      1837
      Views

      @walkerlala said: The interesting thing is, when I typed the classes I include in my source code, which are <QGraphicsItem> and <QGraphicsView> in this case, no warning was given. But when I tried to built it in Qt creator, it raise an error and told me that "C1083: can not open include file:No such file or directory". Also, I went check the include path in my qt5.4 file, which is D:\Qt\Qt5.4.1\5.4\msvc2013_64\include in his case, I did exactly find the two header files. Has any one met this error before? Can explain it? Those headers are part of the Qt Widgets module. Do you have that module in your .pro file? And by the way, which is the default include path in qt creator and how to change it? The include path is specified by your Kit. See http://doc.qt.io/qtcreator/creator-targets.html
    • how set INCLUDEPATH from subdirectory?
      General and Desktop • pro file includepath • • Giorgi  

      9
      0
      Votes
      9
      Posts
      3150
      Views

      Can you show a mockup of your project tree structure ?
    • Open UI Dialog from Mac OSX Xcode (for Maya plugin)
      General and Desktop • plugin qt designer cpp xcode includepath • • EarthHobbit  

      2
      0
      Votes
      2
      Posts
      1212
      Views

      Hi and welcome to devnet, What version of Qt are you using ? What exact error message did you get ?
    • Extending the INCLUDEPATH and LIBS dirs globally in QtCreator
      General and Desktop • qtcreator includepath libs librarypath ldlibrarypath cplusincludepat • • Daylight  

      3
      0
      Votes
      3
      Posts
      2986
      Views

      I have found a reason, why LD_LIBRARY_PATH, CPLUS_INCLUDE_PATH and LIBRARY_PATH variables were ignored by QtCreator: I use KDE and it does not load the .bashrc in the session, but the bash does. So in KDE when you open Konsole - your environment is populated from .bashrc, but other apps, not launched from console - have different environment. So for me the solution was to create $HOME/.kde/env/user.sh file like this: #!/bin/bash if [ -f ~/.username.bashrc ]; then . ~/.username.bashrc fi ~/.username.bashrc contains my environment variables.