跳到內容

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 主題 35.5k 貼文
  • Separate syntax highlighting C++ and QML

    2
    0 評價
    2 貼文
    585 瀏覽
    sierdzioS
    I don't think that such case is supported.
  • CMake: how to instruct automoc to ignore certain files?

    8
    0 評價
    8 貼文
    5k 瀏覽
    SGaistS
    It's your use of QT5_WRAP_CPP which expect QObject based classes that triggers that error. Since you are using automoc, don't use QT5_WRAP_CPP. There's also autouic IIRC.
  • UIC: #include "Qt3Support/Q3ButtonGroup" cannot open include file Qt3Support/Q3ButtonGroup

    6
    0 評價
    6 貼文
    2k 瀏覽
    Z
    This form is from an old Qt3toQT4 project. (qfsm on sourceforge, now on GitHub) I changed manually all Qt3ButtonBox to QtGroupBox and it works. Thanks for the tip. It remains some more works on others Qt3 class not anymore supported.
  • Change Project name using a Generic project in QtCreator

    qtcreator
    1
    0 評價
    1 貼文
    649 瀏覽
    尚無回覆
  • How to print with QPrinter

    3
    0 評價
    3 貼文
    2k 瀏覽
    M
    @SGaist ok thx , I've forget to remove it ( cuz i was testing was is going to print of pdf file with PdfFormat :D ) but it seem that I've problem with my hp print , now the file is send to the print but not print ( it's hold on the pinding window ) [image: f5dbcfc3683e42a4a1478d2aad41ee47.png] i will fix my printer , thx:)
  • Qt + CMake no moc files genereated

    Solved
    17
    0 評價
    17 貼文
    11k 瀏覽
    C
    Tried both solutions: And both work! It seems that the capital c on core make the difference, now moc is triggered correctly. It work also for the "real project". Thanks guys!!
  • QPainter & QPrinter

    Solved
    3
    0 評價
    3 貼文
    794 瀏覽
    M
    @Chris-Kawa thx :)
  • QT Creator need a compiler set up to build

    已移動
    4
    0 評價
    4 貼文
    1k 瀏覽
    SGaistS
    So what exactly did you install ? Which version of Qt and Compiler ?
  • 此主題已被刪除!

    1
    0 評價
    1 貼文
    4 瀏覽
    尚無回覆
  • How to use QTest lib with Visual Stdio 2013

    已移動 Unsolved
    6
    0 評價
    6 貼文
    2k 瀏覽
    VRoninV
    Visual Studio Express does not support addons, and tbh, i don't see any reason to use that release. use Visual Studio Community edition instead https://www.visualstudio.com/en-us/news/releasenotes/vs2013-community-vs
  • Qt Project Settings crashes.

    Unsolved
    2
    0 評價
    2 貼文
    536 瀏覽
    SGaistS
    Hi, Out of curiosity, why do you need that define ?
  • Setting global variable in subdirs template

    Solved qmake subdirs variable settin
    6
    1 評價
    6 貼文
    6k 瀏覽
    SGaistS
    My bad ! It was .qmake.conf that you can use for your common variables.
  • Is it possible to search multiple texts with QtIde

    Solved
    3
    0 評價
    3 貼文
    622 瀏覽
    ?
    @jsulm Yes
  • in QtCreator, how to control the build progress bar with compilation progress

    Unsolved qtcreator
    1
    0 評價
    1 貼文
    662 瀏覽
    尚無回覆
  • How to handle external resources with qmake and QtCreator

    10
    0 評價
    10 貼文
    11k 瀏覽
    S
    @tobias.hunger As far as I know that is not possible right now. Please feel free to add a "feature request":http://bugreports.qt.nokia.com/ into our bug tracker:-) do I see it correctly that nobody opened a "feature request" for this? at least I wasn't able to find anything about it ... and "resources.prf" also doesn't contain any special handling for binary-qrc ... while I was search I stumbled on "CONFIG += resources_big", which could be an alternative for my issue, but seems poorly documented =/ I've got an issue of 10MB of *.png that lead to a *.cpp, which is big for VS2013 32bit compiler ... compiler is running out of heap-memory ... using 32bit-crosscompiler would also help, but is not supported by Creator: https://bugreports.qt.io/browse/QTCREATORBUG-15904
  • An issue with the issues tab

    Unsolved
    6
    0 評價
    6 貼文
    1k 瀏覽
    K
    @uwittenberg Good to know that your problem is solved. If it is reproducable, I can only encourage you to file a bug report. However, I guess "subtle" indicates the opposite ;)
  • Qt Based TouchScreen GUI for ARM9

    Unsolved
    2
    0 評價
    2 貼文
    670 瀏覽
    SGaistS
    Hi, Qt requires an OS to run so you can't use it for that but if you want to write GUI for bare metal devices you can use ugfx.
  • Passing input arguments to GoogleTests with AutoTest plugin

    Unsolved
    1
    0 評價
    1 貼文
    445 瀏覽
    尚無回覆
  • Qt Creator won't stop at breakpoints

    11
    1 評價
    11 貼文
    29k 瀏覽
    M
    I have same problem, I solved it with the following configuration the .pro CONFIG -= app_bundle
  • How to force compile C source by C++ compiler?

    Solved
    6
    0 評價
    6 貼文
    7k 瀏覽
    F
    I figured out. Solution:: contains(CPP, 1):{ QMAKE_CC = $$QMAKE_CXX QMAKE_CFLAGS = $$QMAKE_CXXFLAGS } else { CONFIG += use_c_linker } Thank you all for for your time!