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.5k Posts
  • How to disable ""shadow build" ?

    Unsolved
    6
    0 Votes
    6 Posts
    910 Views
    S
    @J-Hilk said in How to disable ""shadow build" ?: thats not true, you can specify the path of your shodow build and nothing is preventing you of using a subfolder of your source folder Well, then this has changed. It still shows a warning when I do that. And I believe that this initially didn't work.
  • Qt Creator 11 syntax highlighting issue for "new" keyword

    Unsolved
    1
    0 Votes
    1 Posts
    219 Views
    No one has replied
  • weird font spacing in Qt Creator 10.0

    Moved Solved
    4
    0 Votes
    4 Posts
    633 Views
    Z
    @cristian-adam I tried the version 11.0.2 from the GitHub release, and indeed, the issue was not present. It appears to be a problem with Qt 6. Looking forward to the next official update being able to completely resolve this issue. Thank you! [image: db85d3ac-86f9-49b8-93dd-95c9da8e7d66.png]
  • Qt Creator bug with braces matching

    Unsolved
    2
    0 Votes
    2 Posts
    389 Views
    JonBJ
    @Robert-Hairgrove said in Qt Creator bug with braces matching: I have to close Qt Creator and reopen it, at which point everything is fine once again. I never encountered such issues with earlier versions of Qt Creator, I must say. Sadly I most certainly have always experienced syntax highlighting going wrong. And having to exit and re-enter and then it sorts itself out. Over a number of Qt Creator versions, and I haven't gone anywhere near 11.x. So whether it's any worse or better I don't know :)
  • QtCreator adds device UUID when using variables in run configurations

    Unsolved
    1
    0 Votes
    1 Posts
    179 Views
    No one has replied
  • Reinstalled two times Qt 6, could not configure

    Moved Solved
    9
    0 Votes
    9 Posts
    920 Views
    cristian-adamC
    It looks like you are on a Linux system. On a Ubuntu system you need to do a sudo apt-get install build-essential to get the compiler / make / debugger tools. You should also do a sudo apt-get install cmake ninja-build.
  • Clonning "conncetivity" verisons issues

    Moved Unsolved
    7
    0 Votes
    7 Posts
    779 Views
    Axel SpoerlA
    @AnneRanch I am confused about one thing: you say you are cloning, right? How exactly? How and what do you configure, compile? If you are cloning qt5.git, the latest dev (i.e. 6.7) is downloaded. If you then check out a version below 6.7, artifacts of sub modules existing only in dev will remain in your source tree. These would also produce the error messages mentioned. They have to be deleted with git clean -xdf. To answer your final question: yes.
  • URI from x509 certificate is not correctly read by QtopcUa module

    Unsolved
    2
    0 Votes
    2 Posts
    514 Views
    A
    We're facing the same problem, depending how the certificates are been created and fixed it using the following code. QOpcUaApplicationIdentity QOpcUaPkiConfiguration::applicationIdentity() const { ... if (extension.name() == QLatin1String("subjectAltName")) { // OID: 2.5.29.17 QString uri; const QMap<QString, QVariant> valueMap = extension.value().toMap(); if(valueMap.count()>0) { uri = valueMap[QLatin1String("URI")].toString(); } else { QByteArray valBytes = extension.value().toByteArray(); qsizetype urnStartInd = valBytes.indexOf(QStringLiteral("urn:").toUtf8()); //TODO[QT6]: use QByteArrayView here in QT6 qsizetype urnEndInd = (urnStartInd < 0) ? -1 : valBytes.indexOf('0x82', urnStartInd); if(urnStartInd != -1) { uri = valBytes.mid(urnStartInd, (urnEndInd < 0) ? -1 : urnEndInd-urnStartInd); } } const QStringList token = uri.split(':', QString::SkipEmptyParts);
  • Unable to select kit when trying to make a new project

    Moved Unsolved
    2
    0 Votes
    2 Posts
    644 Views
    cristian-adamC
    Notice the Qt Version: None part. That's the reason you can't select the kit. In the Qt Versions you need to either click on Link with Qt ... or configure manually a Qt version.
  • Do i need a licence for OpenSSL when doing https requests in Qt??

    Unsolved
    7
    0 Votes
    7 Posts
    909 Views
    S
    I would say as soon as you link against OpenSSL and thus ship it with your application you would have to comply with the OpenSSL license. If you don't want to think about this you'd need a Qt version that does not link against OpenSSL (may compile it yourself). I don't think a license only applies if you actually call a function from that library. (But I'm not a lawyer.) Solely relying only on http is going to be difficult. This will only work for software you write for yourself on both ends. Most webservers will only allow https connections and even browser are moving in that direction. Not using a secure connection will hinder interoperability in the future.
  • Qt Creator can not open terminal

    Moved Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    JonBJ
    @thinkingfl So your code itself does not create any console. Maybe I'm mistaken, but aren't you supposed to tick Run in terminal? Else what is the point of that? Without it std::cin won't be open hence it runs to completion.
  • How to update version control?

    Moved Unsolved
    3
    0 Votes
    3 Posts
    405 Views
    T
    @J-Hilk Thanks. It does work. I still have to close and reopen the file for the display to update but it does what I wanted.
  • "build configuration is.. disabled " error

    Moved Unsolved
    4
    0 Votes
    4 Posts
    3k Views
    jsulmJ
    @aamp So, did you do what the error message suggests: "Check the Issues view for details"?
  • Setup certain startup project

    Moved Solved
    6
    0 Votes
    6 Posts
    1k Views
    2
    I think the button @Flaviu-0 is talking about has an icon of a monitor on it. On opening it, a two-column menu appears to the right. In the right hand column of this menu under "Run" Is a list of the executable in the project. Each line has a button which which will launch the executable. I was able to choose the startup with a right click on one of these executable, which would highlight that line. With that line highlighted, I could back out and use the debug button, and it would launch the executable which I'd left highlighted.
  • Qt Creator 11.0.1 crashes when clicking Design tab

    Moved Unsolved
    2
    0 Votes
    2 Posts
    301 Views
    cristian-adamC
    Please do create a bugreport at https://bugreports.qt.io/ and attach the core file.
  • What SSL backend is in use?

    Solved
    2
    0 Votes
    2 Posts
    311 Views
    kkoehneK
    If you built Qt yourself, you should see the enabled backends in the configure output. You should also get some hints when enablign the qt.network.ssl category, e.g. by setting QT_LOGGING_RULES=qt.network.ssl=true environment variable before launching your application.
  • Debugging: "warning: process x is already traced by process y"

    Unsolved
    8
    0 Votes
    8 Posts
    2k Views
    M
    @Creaperdown said in Debugging: "warning: process x is already traced by process y": process 5260 is already traced by process 5258 Can you try the solution described here: https://rajeeshknambiar.wordpress.com/2015/07/16/attaching-debugger-and-ptrace_scope/ ? Thanks!
  • You're killing me Smalls! aka "qtRunWork task returned false but did not log an error"

    Moved Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    G
    @Paul-Colby Thanks, Paul. I use Perforce, and it's often the only thing that saves me in these situations. But in a better world, Qt's logging would let me know the module and line number of the error.
  • About Qt Creator customization..

    Moved Unsolved
    4
    0 Votes
    4 Posts
    478 Views
    Axel SpoerlA
    @1XU7 I fail to understand the problem. You prefer NeoVim. It looses its settings when you format your computer. That's why you want to use Qt Creator as a simple editor (without "such modern things"), expecting that its settings survive re-formatting? I am afraid, that's not gonna happen. NeoVim typically saves its settings in the $XDG_CONFIG_HOME/nvim directory, which very likely translates into ~/.config/nvim/. I'd save that directory on a memory stick before re-formatting the PC, and recover it from there.
  • Disabled option for adding existing projects

    Moved Unsolved
    2
    0 Votes
    2 Posts
    256 Views
    SGaistS
    Hi, Might be a silly question but, is your main project already based on the subproject template ?