Skip to content

Qt Creator and other tools

Have a question about Qt Creator, our cross-platform IDE, or any of the other tools? Ask here!
7.7k Topics 35.7k Posts
  • [Moved] qtcreator and cuda .cu files

    4
    0 Votes
    4 Posts
    7k Views
    A
    When I try to open CUDA .cu files I'm seeing many errors in my project such are the following: /home/zarko/repo/tempus/SVRRoot/OnlineSVR/src/oemd_coefficient_search_impl.cu:44: error: In template: no type named 'type' in 'boost::log::sources::aux::inherit_features<boost::log::sources::basic_logger<char, boost::log::sources::severity_logger_mtboost::log::trivial::severity_level, boost::log::sources::multi_thread_modelboost::log::aux::light_rw_mutex>, boost::log::sources::features<boost::log::sources::severityboost::log::trivial::severity_level>>' /home/zarko/repo/tempus/SVRRoot/OnlineSVR/src/oemd_coefficient_search_impl.cu:44: In instantiation of template class 'boost::log::sources::severity_logger_mtboost::log::trivial::severity_level' requested here /home/zarko/repo/tempus/SVRRoot/OnlineSVR/src/oemd_coefficient_search_impl.cu:44: error: No viable overloaded '=' /home/zarko/repo/tempus/SVRRoot/OnlineSVR/src/oemd_coefficient_search_impl.cu:44: error: Cast from pointer to smaller type 'boost::format' (aka 'int') loses information /home/zarko/repo/tempus/SVRRoot/OnlineSVR/src/oemd_coefficient_search_impl.cu:44: error: Invalid operands to binary expression ('boost::format' (aka 'int') and 'thread::id') /home/zarko/repo/tempus/SVRRoot/OnlineSVR/src/oemd_coefficient_search_impl.cu:298: error: No member named 'open_record' in 'boost::log::sources::severity_logger_mtboost::log::trivial::severity_level' I don't see the errors when opening CPP files. I suspect the wrong GCC version compiler is used when parsing .cu files.
  • Navigate to header in build dir instead of the source tree

    Unsolved
    5
    0 Votes
    5 Posts
    787 Views
    Aleksey_KA
    No, still happens.
  • cmake how to set multi QML_IMPORT_PATH?it does not work.

    Solved
    3
    0 Votes
    3 Posts
    207 Views
    Q
    it's my mistake , i set the path in another place. sorry.
  • Why my project is set to aarch64 by default?

    Unsolved
    2
    0 Votes
    2 Posts
    191 Views
    SGaistS
    Hi, Not knowing what you installed, how you installed it and what you are configured is to few details to be able to help you.
  • Compile and build project on remote machine

    Unsolved
    6
    0 Votes
    6 Posts
    416 Views
    S
    @montanaviking said in Compile and build project on remote machine: I did add a remote debugger too but that made no difference. Did set the remote debugger for the specific kit you are using? Also running sans the debugger gives errors: qt.qpa.xcb: could not connect to display localhost:15.0 qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin. qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Did you use ssh -X to do X-forwarding for your ssh connection?
  • unable to show pixmap using qrc file

    Solved
    7
    0 Votes
    7 Posts
    316 Views
    Y
    ohhhh i see. I added it to the CMakeLists.txt and now it works as expected. Thank you :D
  • Issue with Qt Creator crashing on Windows 10

    Unsolved
    4
    0 Votes
    4 Posts
    295 Views
    SGaistS
    @aha_1980 Damn ! I looked for the Windows version and somehow I read 10 in place of 7...
  • Qt Creator Plugin License (Qt Company GPL Exception 1.0)

    Unsolved
    5
    0 Votes
    5 Posts
    380 Views
    W
    Thank you both, I will clarify the detail again with Qt Company.
  • Executable from sh file

    Moved Unsolved
    11
    0 Votes
    11 Posts
    1k Views
    J
    [image: 509edc5c-5bb3-4cce-8d12-e942b334a408.png]
  • 0 Votes
    1 Posts
    66 Views
    No one has replied
  • Qt Creator: Enforce a release-only build in the qmake .pro file?

    Solved
    2
    0 Votes
    2 Posts
    156 Views
    R
    I found a usable workaround, but am open to other suggestions! The project file Libs.pro builds the three subprojects, one per library. I just wrapped everything in a test for debug: CONFIG(release,debug|release) { TEMPLATE = subdirs PROJECT_DIR = $$clean_path($${top_srcdir}/../) THIRD_DIR = $${PROJECT_DIR}/3rd_party SUBDIRS = \ $${THIRD_DIR}/A/A_lib.pro \ $${THIRD_DIR}/B/B_lib.pro \ $${THIRD_DIR}/C/C_lib.pro } else { error("Only release builds are allowed for these libraries! Please close Qt Creator, delete the 'Libs.pro.user' file and check your kit selection carefully.") } Works for me.
  • Qt Creator 16.0.1 on debian 13 (Wayland KDE) folder compilation configuration

    Solved
    3
    0 Votes
    3 Posts
    266 Views
    jsulmJ
    @Brashen said in Qt Creator 16.0.1 on debian 13 (Wayland KDE) folder compilation configuration: I don't remember how to do for having 'bin' as compiling folder In project settings Any errors/warnings?
  • Visual Studio debugging QVector<QString>

    Unsolved
    1
    0 Votes
    1 Posts
    119 Views
    No one has replied
  • Qt Creator 17.0.2 released

    Unsolved
    1
    1 Votes
    1 Posts
    89 Views
    No one has replied
  • How to set the receiver of a button?

    Unsolved
    2
    0 Votes
    2 Posts
    122 Views
    SGaistS
    Hi and welcome to devnet, For the how: create an instance of that class and connect as described in the documentation. That said, there's nothing wrong in having slots in your QMainWindow subclass. Just beware of not making it a god class that does anything and everything in your application. You must take the time to create a sane architecture for your application.
  • Qt Creator Context Menu Takes up the Whole Screen

    Unsolved
    4
    0 Votes
    4 Posts
    206 Views
    A
    @SGaist Exactly like https://bugreports.qt.io/secure/attachment/151070/sample-1.jpg which I just found out was reported in Qt Creator version 12. Thanks @aha_1980
  • Right click not working in form designer

    Moved Unsolved
    16
    0 Votes
    16 Posts
    2k Views
    J
    I got same issue with Qt Creator which version is 17.0.1, it works on my laptop 2.5K screen, but can't work on my extended screen @1920x1080.
  • Qt Creator: log(message) doesn't print any output

    Solved
    5
    0 Votes
    5 Posts
    174 Views
    SGaistS
    @Robert-Hairgrove this brought back some memories ! I don't remember exactly why I needed that but that trick was very good to know. I think I needed to build a set of commands to be execute or something like that.
  • Qt Plugins external folder?

    Unsolved
    13
    0 Votes
    13 Posts
    649 Views
    D
    okay so i think this is a bug
  • QTCreator 'forgets' or 'resets' everything on every launch

    Unsolved
    2
    0 Votes
    2 Posts
    183 Views
    SGaistS
    Hi, Did you check if the configuration of Qt Creator itself have been reset ? I am not sure whether they would be in the registry or in a file on Windows. By default it should be the former though.