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.6k Topics 35.3k Posts
  • Run a task before resources compilation in Qt Creator

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    deleted57D
    At first thank you for your help sierdzio. ^_^ Split project files in different part didn't like so much than, unfortunately, it seem the only way available is to execute manually my task before compilation phase as you suggested...
  • Creator: Search only write-enabled files?

    Unsolved
    5
    0 Votes
    5 Posts
    941 Views
    A
    I have all files of the project locally, so I can build it. But only those files I have "checked out" in my source code control are write-enabled (lack the read-only flag). While I'm already working on those files, I would like to correct certain things using find and replace.
  • How can I left empty a translation in Qt Linguist?

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    C
    If I leave the field empty and click to accept, the translation remains as untranslated and it prints the default text. In my previous example, if I leave its field empty I get "ñ". Regarding the option of changing manually the .ts file, I would prefer not doing so if there's an easier and faster way. If not, I'll do it. Thanks sierdzio!
  • Creator: How to dismiss semantic warning?

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    A
    @SGaist said in Creator: How to dismiss semantic warning?: Hi, I'm not aware of such a feature. I'd recommend asking this on the Qt Creator mailing list. Well, I had to turn off Clang code model anyway, because it tends to lock files while they are being handled by the source code control (see https://bugreports.qt.io/browse/QTCREATORBUG-15929). I'll rely on static code analysis to reveal such semantic errors - and there I know how to make exceptions.
  • How to debug QML-project with QtCreator?

    Moved Unsolved
    1
    0 Votes
    1 Posts
    652 Views
    No one has replied
  • How to add ncurses library to project?

    Solved compiling qtcreator
    5
    0 Votes
    5 Posts
    6k Views
    jsulmJ
    @maydin As libs are not located in include directories it should be: LIBS += -L/usr/lib -lncurses
  • VsTools 2017 beta install bug

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    K
    Hi, the issue was caused by an wrong checksum inside the package. We have uploaded a new beta version to the downloads page some minutes ago, though it might be visible first after short synchronization period. Link -- Karsten
  • How to manually set Visual C++ compiler in Qt Creator?

    Solved
    4
    0 Votes
    4 Posts
    3k Views
    mrjjM
    @jzinqt Super. That is often easier as it comes complete with compiler and debugger. Qt for Visual Studio does not as its not permitted.
  • How to profile ide code?

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    Q
    @jsulm Yes
  • qt creator 4.2.1 in linux cann't open containing folder

    Solved
    3
    0 Votes
    3 Posts
    873 Views
    D
    Well, I'm not sure commenting it will cause some side effects, it seems that LD_LIBRARY_PATH in the qtcreator.sh affects the system one.
  • Can QDoc generate document for private members?

    Unsolved qdoc
    2
    0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi, Can you share the thread where you find that ? If you want such a status report, you should rather check the interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented.
  • SQL server for (Debian) Linux recommendation?

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    mzimmersM
    @SGaist : Ubuntu might provide that, but Debian doesn't. But no matter, because I have the server up and running. Now I just have to figure out why my GUI client doesn't connect even though the CLI client does.
  • How can I send output to a widget

    Unsolved
    23
    0 Votes
    23 Posts
    9k Views
    M
    @DocDJ said in How can I send output to a widget: @mostefa THANK YOU, THANK YOU!!! That did it. I will analyze it to understand what I did wrong. So the problem is solved now? Good ! I advice you to read more about qt , if you want to go further http://doc.qt.io/qt-5/gettingstarted.html
  • Activating QML debugging ignored

    Solved
    2
    0 Votes
    2 Posts
    2k Views
    K
    I checked the source and it seems that my Qt libraries are compiled without qml debug option enabled if (!QQmlEnginePrivate::qml_debugging_enabled) { qWarning() << QString(QLatin1String( "QML Debugger: Ignoring \"-qmljsdebugger=%1\". " "Debugging has not been enabled.")).arg( appD->qmljsDebugArgumentsString()); return; }
  • 0 Votes
    1 Posts
    476 Views
    No one has replied
  • Designer: "Qt Quick emulation layer crashed" on OpenSUSE

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    A
    @fabi_ said in Designer: "Qt Quick emulation layer crashed" on OpenSUSE: The link just takes me to line 1 of the qml file and this happens on any project (examples as well as a freshly created project with no changes). I'm running a fresh install from the unified linux installer in my home directory on OpenSUSE: After re-reading your post, that line makes me think even more you are accidentally mixing Qt libs. It's very common. You can try ldd on your qt creator and see what it shows. Not guaranteed to catch it but should give you an idea. Another thing try launching your designer/creator with an LD_LIBRARY_PATH that points to your custom installed Qt. And finally, you could try restricting access to the system Qt libs (this could affect your apps though if you're using KDE or Qt based apps).. I do a chmod 000 <qtstuff> when I want to narrow things down like this, then restore the permissions when I'm done.
  • Creating a custom project wizard in Qt Creator

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    SGaistS
    Hi and welcome to devnet, You can check the bug report system and open a bug report against the Qt Creator project for that. Even better, if you know where the missing documentation should, you could consider providing a patch for Qt Creator's sources.
  • So now that vs2017 is out

    Solved
    3
    0 Votes
    3 Posts
    724 Views
    R
    Cool, thanks.
  • Can't find valid kit on Ubuntu 16.04

    Solved
    17
    0 Votes
    17 Posts
    5k Views
    SGaistS
    Great ! Then please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)
  • Qt Creator and CMake targets

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    A
    @SebastianM Ah yea you'll have to wait for someone else to help then. I don't use Qt Creator so I can't really help with build targets there. You could always run your builds manually on the command line. I do that most of the time I'm working anyway since I always have a terminal open. But if you want Creator integration that's out of my league, I've barely ever launched it and have been writing Qt code for like 14 years or so.