Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. make
    Log in to post
    • All categories
    • M

      Solved What is the purpose of 'make qmake_all'?
      General and Desktop • make qmake • • Maluna34

      3
      0
      Votes
      3
      Posts
      121
      Views

      M

      Ok I understand. Thank you!

    • M

      Unsolved Unable to build simple hello-tutorial (Windows 10, command line, Qt5.12.10)
      General and Desktop • qmake make command line building error windows 10 • • mrinsane

      19
      0
      Votes
      19
      Posts
      1249
      Views

      SGaist

      Adding to @JKSH, the qml option expects the path to the files in your project sources so it can parse them to pull all the required dependencies.

    • J

      Solved QMake doesn't work properly
      Installation and Deployment • qmake make makefile • • Johnnyk91

      18
      0
      Votes
      18
      Posts
      1650
      Views

      SGaist

      If you did something like

      CONFIG = debug

      You, in fact, nuked the content of the variable and replaced it with debug.

      If you want to modify the content of such a variable, use either += or *=. The first to add a value and the second to add the value only if not already in the variable.

    • Mohammadsm

      Solved Can't qmake QtWebengine - "qtwebenginecore-config.pri: No such file or directory"
      General and Desktop • qmake qtwebengine configure make pri • • Mohammadsm

      6
      0
      Votes
      6
      Posts
      1635
      Views

      SGaist

      Great !

      Since you have it working now, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :-)

      In case, there's an answer that provides the correct hint, you can also use the three button menu to mark it as the correct answer.

    • I

      Solved Compilation hangs early when building 5.12 with WebAssembly support
      Installation and Deployment • wasm webassembly make qmake • • ivarec

      6
      0
      Votes
      6
      Posts
      1290
      Views

      I

      Oops! It worked in my last attempt, although it look a long time. So, my problem was Emscripten's version after all. Here is the version that worked:

      emscripten-1.37.1

      Note: I've used emsdk to install Emscripten and I had to install a matching LLVM/CLang version:

      clang-e1.37.1-64bit
    • A

      Unsolved Qt Project fail to build on Travis CI - "error: ISO C++ forbids declaration of ..."
      General and Desktop • qt 5.1 qt 5.10.0 qt 5.1.1 cmake make • • alex1a

      8
      0
      Votes
      8
      Posts
      2526
      Views

      A

      @ambershark oki, i appreciate your attention

    • CybeX

      Unsolved Compiling Qt 5.5.1 results in error: this use of “defined” may not be portable [-Wexpansion-to-defined] Ask Question
      General and Desktop • qmake qt5.5 qt 5.5 make gcc • • CybeX

      6
      0
      Votes
      6
      Posts
      5397
      Views

      SGaist

      Remove the -j 8. The error is somewhere else. These are just warnings.

    • M

      Solved QCA no Makefile
      3rd Party Software • qca building make makefile windows • • mikkel1156

      7
      0
      Votes
      7
      Posts
      2977
      Views

      M

      @VRonin said in QCA no Makefile:

      also, if you are using MSVC you have to tell cmake to generate makefiles instead of project files. Pass the -G "NMake Makefiles" arguments to your cmake call

      You sir, have saved me. I can't believe they don't specify that in the guide (it also uses MSVC, so idk why there wasn't the same problem).

      I've run into some trouble while building, but that can/should be its own topic.

      @VRonin said in QCA no Makefile:

      Slightly related, is QCA supported and updated? The last thing you'd want is to use an out of date cryptographic library.

      I normally use Crypto++ but libcrypto of OpenSSL is also very good (if you don't mind messing with C)

      It is still active, looking at the the git (https://cgit.kde.org/qca.git/) the last commit was in 2017-09-30 (some months ago, but it isn't dead).
      I had also been looking at Crypto++, but ended up settleing for QCA for no pacticular reasons. And I wouldn't mess with C, I'm still even just a C++ newbie afterall ;) QCA can also use OpenSSL btw.

    • N

      Unsolved Errors while building the project for android
      Mobile and Embedded • build error android build qt make • • no_ideaw

      2
      0
      Votes
      2
      Posts
      809
      Views

      jsulm

      @no_ideaw Can you show your pro file?
      Also did you run qmake and rebuild your project after changing Kit to "Android for armeabi-v7a"?

    • P

      Unsolved Set make flag for all projects
      General and Desktop • make qmake • • Pamplemousse MK 2

      4
      0
      Votes
      4
      Posts
      2197
      Views

      K

      @Pamplemousse-MK-2

      When you are entering this on each machine where the creator is used, it will apply to all projects on that machine. Eventually you need to check whether it is updated for all projects already loaded in created. New projects are taking over those system environment settings.

    • A

      Solved Installing ODBC driver on Ubuntu getting syntax error after running "make"
      General and Desktop • odbc driver make sql server unixobdc • • Amir5121

      10
      0
      Votes
      10
      Posts
      5863
      Views

      A

      @SGaist Thanks for your help.. it's successfuly got connected finally.. i changed localhost\sqlexpress to localhost and it got connected.. what ever sqlexpress is there for. Thanks again

    • D

      Solved Link a library with Qt on windows
      Installation and Deployment • windows mingw32 make lib • • dridk2

      7
      0
      Votes
      7
      Posts
      4278
      Views

      A

      @dridk2 Great news! Happy coding. :)

    • P

      Unsolved Invinite make loop when cross-compiling with subdirs project
      Tools • qmake qt 5.4.1 make • • PhTe

      1
      0
      Votes
      1
      Posts
      630
      Views

      No one has replied

    • tomy

      Unsolved Compile my Qt project in Windows
      General and Desktop • qmake make command • • tomy

      5
      0
      Votes
      5
      Posts
      1163
      Views

      jsulm

      @tomy Did you realize that you are looking in the wrong directory? MinGW is in c:\Qt\Tools\mingw492_32\bin!
      You should be more proactive and look by yourself instead of asking for exact answers. You can search in Windows-Explorer for

      *make*.exe

      On my machine I get 4 hits one of them is mingw32-make.exe

    • Lexxmark

      Unsolved QMAKE_EXTRA_COMPILERS and MOC
      Tools • qmakeextracom make • • Lexxmark

      2
      0
      Votes
      2
      Posts
      1477
      Views

      E

      I had the same problem, solved it by making a new compiler that uses the generated header file as input and runs moc on it to generate the missing source file. From my .pro:

      dbc2cpp_canbus_h.name = Generating canbus.h from DBC file.
      dbc2cpp_canbus_h.CONFIG += combine
      dbc2cpp_canbus_h.input = "DBC_A_C"
      dbc2cpp_canbus_h.output = canbus.h
      dbc2cpp_canbus_h.commands = bash -c 'dbc2cpp --target CANBUS_H CLUSTER <($${DBC_A_GIT}) <($${DBC_C_GIT})'
      dbc2cpp_canbus_h.variable_out = HEADERS
      QMAKE_EXTRA_COMPILERS += dbc2cpp_canbus_h

      CANBUS_H = canbus.h
      new_moc.commands = moc $(DEFINES) $(INCPATH) canbus.h -o ${QMAKE_FILE_OUT}
      new_moc.input = "CANBUS_H"
      new_moc.output = moc_canbus.cpp
      new_moc.variable_out = SOURCES
      QMAKE_EXTRA_COMPILERS += new_moc

    • JeKK666

      Cross compile Qt for RaspberryPi2 - undefined reference
      Mobile and Embedded • cross compile raspberry pi 2 undefined reference make • • JeKK666

      6
      1
      Votes
      6
      Posts
      4063
      Views

      JeKK666

      I never got around to solve this issue, so due to time constraints i reverted to compile natively on the Raspberry Pi.

    • G

      Unsolved Some Android with QT issue
      Mobile and Embedded • android linux arch linux make qt5.5 • • Gue00

      2
      0
      Votes
      2
      Posts
      845
      Views

      SGaist

      Hi,

      Did you configure Qt Creator to find your Android/Java stuff ?

    • D

      Unsolved Keeping the normal build system of my project...?
      General and Desktop • autotools make qmake build • • delt

      3
      0
      Votes
      3
      Posts
      1072
      Views

      SGaist

      Hi and welcome to devnet,

      While it might be doable, I'd recommend using a build manager either CMake like suggested by @debian, QBS or qmake. You'll have an easier way to handle your project and its submodules (not to mention that it will also make your life easier if changing OS to build your project).

      Note that you can use qmake for non-Qt project without a problem.

    • K

      [SOLVED] Having custom variables in Makefile
      General and Desktop • qmake make makefile • • kumararajas

      16
      0
      Votes
      16
      Posts
      6028
      Views

      K

      Later to that,

      I have figured out a problem in having:

      We need to have \" in the argument:
      -DBOO_PATH="/path/to/boost"
      Problem is that, the macro turned out to be
      #define BOO_PATH /path/to/boost
      which is actually useless. We need to have double quotes to cover them up.

      BOOST = $ $ ( BOOST_PATH ) BOOST_STR = ' \ \ " $ $ { BOOST } \ \ " ' DEFINES += BOOST_PATH=\ " $ $ { BOOST_STR } \"

      Again, eliminate the spaces :)