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
  • Learn how to create Qt Creator plugins

    qt creator plugins qtws19
    1
    3 Votes
    1 Posts
    374 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    4
    0 Votes
    4 Posts
    31 Views
  • CMake + QtLinguist generates empty TS files

    Solved
    4
    0 Votes
    4 Posts
    683 Views
    Pablo J. RoginaP
    @G_ka said in CMake + QtLinguist generates empty TS files: it looks like it fixed itself ok, so when you confirm the issue is solved please don't forget to mark your post as such! Thanks
  • how to tell QtCreator to ignore one .cpp file.

    Solved
    8
    0 Votes
    8 Posts
    878 Views
    ODБOïO
    @sierdzio said in how to tell QtCreator to ignore one .cpp file.: it looks like a doxygen bug perhaps yes it looks like a bug.. the cleanest way i found is //! [ex1] \dontinclude QString program = "GView.exe"; QString filePath = file.replace("/","\\"); QProcess *myProcess = new QProcess(this); myProcess->start(program, QStringList() << filePath ); //! [ex1] How to run <b>Gview.exe</b> ? //!\snippet machinebackend.cpp ex1 the output is still polluted but it's ok for me output : [ex1] [ex1] How to run Gview.exe ? QString program = "GCodeView.exe"; QString filePath = file.replace("/","\\"); QProcess *myProcess = new QProcess(this); myProcess->start(program, QStringList() << filePath ); Thank you again @sierdzio
  • Qt cmake project crashed for debug build on Mac OS

    Unsolved
    1
    0 Votes
    1 Posts
    341 Views
    No one has replied
  • 0 Votes
    1 Posts
    190 Views
    No one has replied
  • Building QtWayland Error in Windows 10 by Qt 5.10.0

    Unsolved
    9
    0 Votes
    9 Posts
    1k Views
    D
    @jsulm Okey, I know. That way, I have to find another way to solve my problem. thank you so much。
  • qmake: How to force use of release Qt libraries in debug build?

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    A
    Link for interested readers: https://stackoverflow.com/questions/11658915/mixing-debug-and-release-library-binary-bad-practice
  • Qt Creator: Auto test with custom executable

    Unsolved
    5
    0 Votes
    5 Posts
    553 Views
    GPBetaG
    For example that there's an dependency module(DLL) will use qApp->applicationDirPath() to make up paths to load fonts, images, add QML import paths, etc.
  • Sorting QML property based on coding convention

    Unsolved
    1
    0 Votes
    1 Posts
    148 Views
    No one has replied
  • Project ERROR: Unknown module(s) in QT: scxml

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    SGaistS
    To add to @aha_1980, just that module. You don't need to rebuild the all of Qt. You can use your distribution provided version.
  • Qt installer framework without 7zip?

    Unsolved
    2
    0 Votes
    2 Posts
    383 Views
    L
    I found this post related to this question: https://forum.qt.io/topic/68171/qt-installer-and-7z-format Although it doesn't make it clear if you need to install 7zip on the computer or if it should just work when using the installer.
  • How to have qmake made aware of QT Designer form changes?

    Unsolved
    2
    0 Votes
    2 Posts
    269 Views
    aha_1980A
    Hi @rjmoses, The simple answer is: qmake generates a Makefile. make then checks the timestamps of the xxxx.ui vs. the ui_xxxx.h and if the ui is newer, then uic is called to generate a new header. Your scenario can happen if e.g. the files are located on a network share and the timestamps don't match, or if you have build artifacts or Makefiles in your source folder that even if you do shadow building. At least I have seen these two cases. Regards
  • Creator: How to save tool window positions?

    Solved
    2
    0 Votes
    2 Posts
    260 Views
    aha_1980A
    Hi @Asperamanca, looks like QTCREATORBUG-21851 Regards
  • 0 Votes
    1 Posts
    646 Views
    No one has replied
  • 0 Votes
    7 Posts
    1k Views
    SGaistS
    Then, please, try the official package.
  • Qt Creator unable to start debugger

    Unsolved
    4
    1 Votes
    4 Posts
    627 Views
    M
    Hi @aha_1980, This provided some useful additional info, which I've attached below. >408^running dNOTE: ENGINE RUN AND INFERIOR RUN OK sRunning. dState changed from EngineRunRequested(7) to InferiorRunOk(11) dNOTE: ENGINE RUN AND INFERIOR RUN OK sRunning. dState changed from EngineRunRequested(7) to InferiorRunOk(11) [master] dINFERIOR STARTED sApplication started. >*running,thread-id="all" dNOTE: INFERIOR STILL RUNNING IN STATE InferiorRunOk. >~"\nProgram" >~" received signal SIGSEGV, Segmentation fault.\n" >~"0x0000000000000000 in ?? ()\n" >*stopped,reason="signal-received",signal-name="SIGSEGV",signal-meaning="Segmentation fault",frame={addr="0x0000000000000000",func="??",args=[]},thread-id="1",stopped-threads="all",core="1" dNOTE: INFERIOR SPONTANEOUS STOP sStopped. dState changed from InferiorRunOk(11) to InferiorStopOk(14) dNOTE: INFERIOR SPONTANEOUS STOP sStopped. dState changed from InferiorRunOk(11) to InferiorStopOk(14) [master] <409importPlainDumpers off dHANDLING SIGNAL SIGSEGV sStopped: Segmentation fault (Signal SIGSEGV). The GDB version that it found is version 7.12.0.
  • Hot to organize the project in diferent folders

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    SGaistS
    In that case, just create the folders in your project folder and in your .pro file: SOURCES += \ $$PWD/controls/anyfileaboutcontol.cpp or alternatively you can add a .pri file per subfolder that you will include in your main .pro file.
  • Qt Creator external tools paths

    Solved qt creator exteranl tools
    4
    0 Votes
    4 Posts
    869 Views
    aha_1980A
    @Exotic_Devel said in Qt Creator external tools paths: What about the problem with qmlviewer, can you give me any suggestions? I honestly have no idea what that is. Looking in the qmlviewer.xml file, it seems to be related to Qt Quick 1, so likely a Qt 4 remnant. Regards
  • How FLEX&BISON works with Qt?

    Unsolved
    4
    0 Votes
    4 Posts
    466 Views
    jsulmJ
    @William-Lin said in How FLEX&BISON works with Qt?: but it didn't work What exactly?