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
  • 0 Votes
    4 Posts
    2k Views
    SGaistS
    Hi, You have to install Microsoft's Debugging Tools. "Here":http://msdn.microsoft.com/en-us/library/windows/hardware/ff551063(v=vs.85).aspx is the starting page
  • How to specify program output text color to Qt Creator's output console

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • QtCreator buildconfigution and preinclude files

    2
    0 Votes
    2 Posts
    1k Views
    A
    Does anyone know how to solve this problem?
  • [SOLVED] Wrong header file included in project

    3
    0 Votes
    3 Posts
    2k Views
    D
    Thanks a lot andreyc, I was assuming that HEADERS and SOURCES where somehow also used by the compiler.
  • QtCreator debug helpers for STL not accessible on win7

    4
    0 Votes
    4 Posts
    5k Views
    A
    Thanks! Disabling the debugger options as suggested by dmarinescu fixed it for me on both Linux and Mac. I consider this a bug and I'll check if there is already a bug report. Edit: According to bug report QTCREATORBUG-11290 this should be fixed in qtcreator 3.1.0.
  • [Solved] qmake: Where do additional CXXFLAGS come from?

    6
    0 Votes
    6 Posts
    6k Views
    sierdzioS
    that is a quite impressive find, thanks for sharing!
  • [SOLVED] Compiling Qt Plugin with CMake issue

    4
    0 Votes
    4 Posts
    4k Views
    P
    Solved by including the right headers (there was a check against CMAKE_BUILD_TYPE) and building as STATIC instead of SHARED... Wow. Now I'm going to see execution part. @cmake_minimum_required(VERSION 2.8.8) project(applettutorial1) FIND_PACKAGE(Qt4 REQUIRED) application headers files SET(applettutorial1_HEADERS "include/applettutorial1.h" "include/applet-tutorial1_global.h" "include/applettutorial1imp.h" "include/TestInterface.h" ) application files: source and headers again so that they show up in project files tree SET(applettutorial1_SOURCES ${applettutorial1_HEADERS} src/applettutorial1.cpp src/applettutorial1imp.cpp tutorial1.xml ) MESSAGE(STATUS "Source files: " ${applettutorial1_SOURCES} ) SET (CMAKE _AUTOMOC ON) if (QT4_FOUND) INCLUDE(${QT_USE_FILE}) else() message(FATAL_ERROR "No Qt4 found") endif() MESSAGE(STATUS "QT_USE_FILE: " ${QT_USE_FILE} ) IF(CMAKE_BUILD_TYPE MATCHES Debug) SET(EXTERNALLIB_BASE "$ENV{EXTERNALLIB}/debug") MESSAGE(STATUS "Debug build") ELSE() SET(EXTERNALLIB_BASE "$ENV{EXTERNALLIB}/relWithDebInfo") MESSAGE(STATUS "Not debug build") ENDIF() MESSAGE(STATUS "Build type: " ${CMAKE_BUILD_TYPE} ) MESSAGE(STATUS "EXTERNALLIB base dir: " ${EXTERNALLIB_BASE} ) EXTERNALLIB version SET(VERSION "0.24.0") includes include_directories( "${CMAKE_CURRENT_SOURCE_DIR}/include" "${EXTERNALLIB_BASE}/include" "${EXTERNALLIB_BASE}/include/foundation" ${CMAKE_CURRENT_BINARY_DIR} ${QT_QTCORE_INCLUDE_DIR} ${QT_INCLUDE_DIR} ) link_directories("${EXTERNALLIB_BASE}/lib") name, type then list of files add_library( applettutorial1 STATIC ${applettutorial1_SOURCES} ${applettutorial1_HEADERS} ) target_link_libraries( applettutorial1 ${QT_LIBRARIES} foundation ) #install... @
  • [SOLVED] QT 4.8 CMake project

    3
    0 Votes
    3 Posts
    2k Views
    P
    I made it working by checking "run in terminal" in run settings!
  • Qtcreator fails to run and generates core (SIGILL)

    22
    0 Votes
    22 Posts
    10k Views
    M
    Hi, The two old machines work fine for all other apps that I can test, including YouTube. I was using them because they have serial ports and I wanted to develop a serial application. I can't bear the pain of trying to get them to work, so I have purchased a cheap PCI express card for my main machine with 2 x serial and 1 x parallel ports. At £25/30€ it's worth being able to use the infinitely more powerful 64-bit machine. Also, this one is in my front room and the others are in the attic 8^) Thanks for the help anyway.
  • Creator: Find out how include paths are misparsed?

    1
    0 Votes
    1 Posts
    448 Views
    No one has replied
  • Qt Installer Framework

    1
    0 Votes
    1 Posts
    783 Views
    No one has replied
  • How do I change the overall font size of QtCreator?

    8
    2 Votes
    8 Posts
    45k Views
    Y
    Thanks for the tip. Can someone here help me use a stylesheet this way to only change the Creator console output and application output panes, without changing anything else? I know you can use stylesheets to target a widget with a certain name. For example: QCheckBox { spacing: 4px; //affects all checkboxes } QCheckBox#checkBox_4 { spacing: 14px; //only changes one with that objectName } I've tried looking at Creator's source, but I'm not skilled enough to navigate a project of that size and complexity.
  • Change font size in output windows?

    22
    0 Votes
    22 Posts
    19k Views
    Y
    I find this really annoying as well. With older versions, circa Qt4.7+Creator 2.0, I had code set to one font, and console output used the system font, and it was much more readable. This new setting where console output and application output use the same font as code editors is really annoying in comparison. This is a basic UI principle: Different function means different typefaces. Is there any way to move the bug tracker issue up to Creator 3.x? Or is it better to create a new one?
  • Mac: Creator won't add versions in /usr/local/Trolltech

    2
    0 Votes
    2 Posts
    893 Views
    SGaistS
    Hi, Can't find my other post about this so here is the short version: in the "Select a qmake Executable" dialog go to your system's root and do "cmd + shit + ." to make the hidden folders appear then you can to the install folder of Qt Happy coding !
  • Gdb stops at "setting breakpoints" in QtCreator when debugging

    18
    0 Votes
    18 Posts
    22k Views
    A
    LTS is overrated :) But I digress! Perhaps you should either re-enable the bug to see if they can help you, or file a new bug and link to my old one. Good luck!
  • Creator: Increate number of recent projects?

    3
    0 Votes
    3 Posts
    1k Views
    A
    I have posted the suggestion as https://bugreports.qt-project.org/browse/QTCREATORBUG-11605
  • String IDs in QtCreator instead of text

    2
    0 Votes
    2 Posts
    790 Views
    martin_kyM
    Qt uses strings (the original source text) as translation keys. But nothing prevents you from using the tr() functions like this: @tr("12345")@ where 12345 is your translation ID. But Qt seems to make it possible to attach an ID to a translation key. Perhaps "this":http://qt-project.org/doc/qt-5.0/qtdoc/i18n-source-translation.html#adding-meta-data-to-strings is what you are looking for?
  • Errors while compiling Qt Creator 3.0.0 on CentOS6.4

    4
    0 Votes
    4 Posts
    2k Views
    T
    hi is there any solution to this? i'm having the same issue thanks
  • Print Widget on Qt Creator

    3
    0 Votes
    3 Posts
    2k Views
    F
    Thank u marstay i finally fix my problem using QPrinter and QPrinterDialog :) here is the code : QPrinter *printer = new QPrinter; QPrintDialog *printDialog = new QPrintDialog(printer, this); if (printDialog->exec() == QDialog::Accepted) { QPainter p(printer); QPixmap pm = QPixmap::grabWidget(this); p.drawPixmap(0, 0, pm); }
  • [Moved] qtcreator and cuda .cu files

    3
    0 Votes
    3 Posts
    6k Views
    S
    this link is damaged i guess http://doc.trolltech.com/4.7/qmake-environment-reference.html#customizing