Navigation

    Qt Forum

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

    • UNSOLVED Qt6 MSVC2019 Build Attempt: Cmake Error at .../QtProcessConfigureArgs.cmake:788 (Exit Code 1)
      Installation and Deployment • cmake debug configure building qt qt6 • • oblivioncth  

      1
      0
      Votes
      1
      Posts
      67
      Views

      No one has replied

    • SOLVED QtFuture not found
      Qt 6 • cmake qt6 qtfuture • • noone  

      9
      0
      Votes
      9
      Posts
      91
      Views

      @noone said in QtFuture not found: workaround ? #include <QFuture>
    • UNSOLVED qmake to cmake, are there any tools to help automate this?
      General and Desktop • qmake cmake • • feistykittykat  

      4
      0
      Votes
      4
      Posts
      111
      Views

      AFAIK, it's the script that was used to bootstrap the port from qmake to cmake so it should do a pretty good job.
    • UNSOLVED QtCreator doesn't load .cpp and .h files from CMake project
      General and Desktop • qtcreator cmake vtk • • Please_Help_me_D  

      4
      0
      Votes
      4
      Posts
      71
      Views

      If possible maybe somebody could clone the repository and try it his computer to open project and run CMake. Not necessary to build the project (it may take 9 hours) but before launching CMake set build dir path as short as possible (I have build folder C:\S\b and the source C:\S\Slicer) because Slicer has some problems with path length and CMake will throw an error if build folder path is too long. I'm very interested in working on this project in QtCreator and not in Visual Studio but that QtCreator's behavior doesn't leave me any chances.
    • UNSOLVED CMAKE_PREFIX_PATH is not working with Android
      Installation and Deployment • android cmake cross compile • • noone  

      1
      0
      Votes
      1
      Posts
      101
      Views

      No one has replied

    • SOLVED no "Initial CMake parameters" field in Qt creator
      Tools • qtcreator cmake • • noone  

      2
      0
      Votes
      2
      Posts
      59
      Views

      @noone said in no "Initial CMake parameters" field in Qt creator: what should I do ? Update to 4.13 :-)
    • UNSOLVED Why does qml files fail to load if I separate the entry?
      QML and Qt Quick • qtquick cmake qrc rcc • • UltraUniqueName  

      1
      0
      Votes
      1
      Posts
      53
      Views

      No one has replied

    • UNSOLVED CMake CUDA QTCreator
      Tools • qt creator cmake cuda • • Sai_b  

      2
      0
      Votes
      2
      Posts
      182
      Views

      ok late reply. found an easy fix for this. go to Tools -> Options -> Environment -> MIME Types type .cu in the Filter tab. (just to search for the right type) click on text/vnd.nvidia.cuda.csrc and clear the*.cu in the patterns tab. now type c++ in the Filter tab. click on text/x-c++src and add*.cu;*.cuh in the patters tab. dont clear whats alredy here.
    • UNSOLVED System Cannot Find Path Specified
      General and Desktop • c++ cmake visual studio compiler • • surferbrain  

      16
      0
      Votes
      16
      Posts
      667
      Views

      @surferbrain You need to look inside that vcvarsall.bat file and see what paths it is trying to find/execute which cannot be found. Isn't the problem in your VS set up rather than Creator?
    • UNSOLVED Could it be that QML_DESIGNER_IMPORT_PATH conflicts with QML_IMPORT_PATH ?
      Tools • qt creator cmake design mode • • Andreas Schacherbauer  

      1
      0
      Votes
      1
      Posts
      91
      Views

      No one has replied

    • SOLVED uic + CMake + GCC + custom widgets + out-of-source problem
      Tools • cmake custom widget header custom widgets uic • • stan423321  

      12
      0
      Votes
      12
      Posts
      604
      Views

      Well, huh. I thought I tried that one with the bigger project before, but it does work with the test program here, so that must have been something else. Thank you for your assistance.
    • UNSOLVED Problems with CMake project for VST plugin with Qt Quick
      General and Desktop • qtquick cmake vst • • kdabros  

      2
      0
      Votes
      2
      Posts
      88
      Views

      @kdabros Hi! Did you manage to make a qmake based project for a VST plugin that you would like to share? I was just searching the forum for an example of that and your post was the closest thing I could find! Thank you, Ilias
    • SOLVED QtCreator taking a long time to run CMake
      Tools • qtcreator cmake • • rhvonlehe  

      5
      0
      Votes
      5
      Posts
      93
      Views

      @wokerjrvm How is your question related to the original question in this thread? Please open your own thread and ask there.
    • UNSOLVED Using Qt Remote Object with Cmake
      General and Desktop • cmake qobject qt5.9 remoteobject • • glamis  

      1
      0
      Votes
      1
      Posts
      67
      Views

      No one has replied

    • SOLVED QtCreator 4.11.x Ignores Source Code Directory Structure with CMake
      General and Desktop • qt creator cmake • • ted dr  

      5
      0
      Votes
      5
      Posts
      130
      Views

      @ted-dr HI I hope developers would remove this feature or make it optional at least. This would become problematic with standard structured folders across multiple IDEs. Feel free to open an enhancement ticket and post link here. People can then vote for it, if they like you - feel the good old way was the best and if enough votes then it might happen :)
    • UNSOLVED Using Qt codes in Android application
      General and Desktop • c++ android qt5 cmake ndk • • morteza ali ahmadi  

      1
      0
      Votes
      1
      Posts
      73
      Views

      No one has replied

    • UNSOLVED Qt Creator cmake project paths
      Tools • qt creator cmake path • • Poldi  

      2
      0
      Votes
      2
      Posts
      82
      Views

      Are running this on two different computers (or VMs)? It seems there are more variables involved than just 'different version of QtCreator'. Working: Qt 5.12.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 8.3.0) on "xcb" OS: Ubuntu 19.04 [linux version 5.0.0-38-generic] Environment: QT_ACCESSIBILITY="1" QT_AUTO_SCREEN_SCALE_FACTOR="0" Not Working (note, QT_ACCESSIBILITY is not set): Qt 5.12.4 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 9.2.1 20191008) on "xcb" OS: Ubuntu 19.10 [linux version 5.3.0-40-generic] Environment: QT_AUTO_SCREEN_SCALE_FACTOR="0" Do you have additional KDE packages (not sure what that the 'kdedev' folder is) installed on the one that's working? Does your application depend on them? Can you run it in debugging to see where exactly it is crashing?
    • UNSOLVED Qt Creator cmake project add application icon to Android application
      Mobile and Embedded • android qt creator cmake • • leinad18  

      2
      0
      Votes
      2
      Posts
      429
      Views

      I have similar issue. It seems that contents from ANDROID_PACKAGE_SOURCE_DIR/res are not copied, and I need them to copy for splash screen, etc. If I copy them myself with this workaround: set(ANDROID_BUID_DIR ${CMAKE_CURRENT_BINARY_DIR}/android-build) #... file(INSTALL android/ DESTINATION ${ANDROID_BUID_DIR} FILES_MATCHING PATTERN "*") res contents does appear after cmake run, but once androiddeployqt runs (after build step), all these files disappear (being deleted?)!
    • UNSOLVED Локализация текстов в приложении
      Russian • cmake localization • • dmitry1992  

      2
      0
      Votes
      2
      Posts
      87
      Views

      @dmitry1992 https://doc.qt.io/qt-5/internationalization.html
    • UNSOLVED QTCreator v4.11.0/ linux x64/CMAKE/C symbols definition not found, unless QtCreator stared in CMAKE source directory
      General and Desktop • cmake symbols not foun • • rsacchettini  

      1
      0
      Votes
      1
      Posts
      46
      Views

      No one has replied

    • UNSOLVED [QtCreator] Header and Source folder organization with CMake 3.14 and above
      Tools • qtcreator cmake project files • • jgoenetxea  

      3
      1
      Votes
      3
      Posts
      750
      Views

      I have the same problem on MacOS but this seems not coming from CMake but from the last version of QT Creator 4.11.x I installed an instance of Qt Creator to 4.10.x and get back project structure as folders structure.
    • UNSOLVED Qt cannot load cocoa plugin
      Installation and Deployment • cmake plugin macos cocoa • • eejin  

      1
      0
      Votes
      1
      Posts
      189
      Views

      No one has replied

    • UNSOLVED build2 as replacement for QBS
      Tools • cmake moc qbs toolchain buildsystem • • Patrick Fromberg  

      2
      0
      Votes
      2
      Posts
      161
      Views

      Hi, It might be of interest and would likely benefit from a plugin in Qt Creator. However the first step would be to have it build various Qt project types. Note that cmake won't be transitional. It's going to be the build system of Qt 6 and thus it's going to stay like this for the whole Qt 6 lifetime at least. Just take a look at the lifetime of qmake.
    • SOLVED Can I create a static library from QML and use that with my executable?
      QML and Qt Quick • qml cmake resources • • rhvonlehe  

      3
      0
      Votes
      3
      Posts
      534
      Views

      @sierdzio Thank you.
    • SOLVED Qt 5.12.4 TextToSpeech with CMake
      General and Desktop • cmake text to speech • • KroMignon  

      3
      0
      Votes
      3
      Posts
      199
      Views

      HI CMake integration into Creator is very basic and we also had many issues with it not parsing the project file the first time. However it got a bit better with never Creators.
    • I had a problem compiling QtCreator4.10 using cmake。
      General and Desktop • qtcreator cmake • • smallcsduck  

      2
      0
      Votes
      2
      Posts
      120
      Views

      Hi, What version of Qt are you using to build Qt Creator ? How did you install it ?
    • UNSOLVED QML Debugger: Unable to listen to port
      QML and Qt Quick • qml cmake debug • • krehf  

      1
      0
      Votes
      1
      Posts
      249
      Views

      No one has replied

    • UNSOLVED CMAKE AUTOGEN of RCC list causes Error with Permission Denied
      Mobile and Embedded • cmake rcc odroid permissionerror • • monkfood  

      7
      0
      Votes
      7
      Posts
      615
      Views

      You can have files with different rights anywhere on your system. One thing you can do is nuke that build folder then use chown and chmod on the content of your download folder and ensure that everything belongs to the correct user and with read/write properties.
    • UNSOLVED Mergin projects, cant compile mocs_compilation
      General and Desktop • cmake moc • • Dariusz  

      14
      0
      Votes
      14
      Posts
      812
      Views

      Hey Nope not yet. Will try it, just need to learn it :- )
    • UNSOLVED How to use precompiled headers in CMake project in QtCreator?
      Tools • qtcreator cmake code model precompile • • Alexander Trots  

      2
      0
      Votes
      2
      Posts
      594
      Views

      I ran into the same problem and this problem is very very annoying during daily work. I filed a bug report for that issue.
    • SOLVED [OSX] Window is blank until forced repaint
      QML and Qt Quick • qml cmake mac quick osx • • mbise1993  

      3
      0
      Votes
      3
      Posts
      639
      Views

      It does look like a similar issue. I was able to find a workaround thanks to this bug report. Setting the target OSX version to 10.12 in CMake did the trick.
    • UNSOLVED Qt5GuiConfig.cmake etc not found in fresh Windows installation
      Installation and Deployment • cmake windows 10 installation • • Joachim W  

      4
      0
      Votes
      4
      Posts
      1098
      Views

      @Joachim-W Do you have c:\Qt\5.11.1\mingw53_32\lib\cmake\Qt5Gui (adapt the path to the Qt version you installed) and if so iis there anything inside?
    • UNSOLVED Checking documentation around CMake commands for Qt software builds
      General and Desktop • cmake documentation components manual software builds • • elfring  

      4
      0
      Votes
      4
      Posts
      360
      Views

      I am curious on how the clarification will evolve for the topic “Describing build components for CMake support with Qt”.
    • UNSOLVED Qt5LinguistTools cmake BYPRODUCTS declaration
      Tools • cmake linguist ninja • • l3u_  

      5
      0
      Votes
      5
      Posts
      674
      Views

      Thanks for the feedback, I opened Bug #71354.
    • UNSOLVED Avoid Qt Creator to rebuild from scratch CMake project at opening
      Tools • qtcreator cmake build • • pamplemousse_mk2  

      1
      0
      Votes
      1
      Posts
      449
      Views

      No one has replied

    • SOLVED Corrupt JPEG data error
      General and Desktop • cmake qcamera images qt 5.9.5 capture • • BartoszPaj  

      9
      0
      Votes
      9
      Posts
      1683
      Views

      2nd UPDATE: Problem was by natural source. The light reflects from window into camera. 2nd problem was using file as buffer. I solved it by using grab image from QCameraViewFinder widget and send by memory.
    • UNSOLVED Include a 3rdparty cmake project as a subdir
      Installation and Deployment • qmake cmake subdir 3rdparty • • SerkanT  

      2
      0
      Votes
      2
      Posts
      484
      Views

      Hi and welcome to devnet, Because it's complex to integrate one build system with another. What 3rd party is it ?