跳到內容

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 貼文
  • Valgrind troubles

    1
    0 評價
    1 貼文
    607 瀏覽
    尚無回覆
  • How to install Qt Modeling en Windows 8.1

    1
    0 評價
    1 貼文
    757 瀏覽
    尚無回覆
  • [Solved] Debugging with MinGW self-compiled creator not possible

    4
    0 評價
    4 貼文
    1k 瀏覽
    K
    Some debugger extensions were missing. After copying the contents of c:\Qt\Tools\QtCreator\share\qtcreator\debugger to the self-compiled creator version also debugging is working.
  • [SOLVED] (was [Qt Creator] [feature request]) Maximize current edit sub-window

    3
    0 評價
    3 貼文
    2k 瀏覽
    P
    Thank you for a link. I was trying to find current bugreport system for an hour+ , but all links that I found were about 2010 and linked to the abandoned qt.nokia domain... Going to post at proper place.
  • Speech Processing using Qt

    2
    0 評價
    2 貼文
    1k 瀏覽
    P
    You can take look "here":https://qt-project.org/doc/qt-5/qaudiorecorder.html regarding to how to capture input sound in Qt and process FFT by "this library":http://qt-project.org/forums/viewthread/17599 , eventually contact it's developer for cooperation.
  • Qt Creator doesn't found QtQml.Models 2.1

    1
    0 評價
    1 貼文
    882 瀏覽
    尚無回覆
  • Event happens when it shouldn't

    9
    0 評價
    9 貼文
    3k 瀏覽
    Q
    Only thing that comes to mind, if clean - >qmake didn't help then try delete all build files manually and qmake - >Rebuild All.
  • [SOLVED] Alternative to system()

    4
    0 評價
    4 貼文
    1k 瀏覽
    L
    Thank you ! I will try this out. Edit : I had some trouble with setStandardOutputFile, so I did @QProcess::execute("cmd.exe /C myexecutable -ip <ip> -pw <pw> -othercommand > text.txt");@ and it works ! I was missing the "cmd.exe /C" part.
  • Translation using PyQt and Pylupdate5

    1
    0 評價
    1 貼文
    2k 瀏覽
    尚無回覆
  • How to convert String to Qpushbutton type

    7
    0 評價
    7 貼文
    2k 瀏覽
    M
    Hi SGaist, Thank you for reply.. I am making GUI application in which i have a requirements like 1. I have to handle events from Ui and 2. update processed on Ui. so i am making GUI module for my requirements with some conditions like Module should be configurable. so all events and its actions will be defined in config, code should excite the events as per configurations. for this i should know who is the sender of signals so that i can find sender/ event in config file and excite action as per config.
  • [ANSWERED] Qt Creator Question

    3
    0 評價
    3 貼文
    829 瀏覽
    M
    I figured it out finally!! (Exactly as it says in the manual, of course!)
  • Does QtCreator 3.1.2 support QtQuick 2.3?

    1
    0 評價
    1 貼文
    637 瀏覽
    尚無回覆
  • Debug build of Qt Creator crash on startup

    4
    0 評價
    4 貼文
    2k 瀏覽
    A
    GDB 7.7 crashes immediately when loading binaries containing certain symbols, see https://sourceware.org/bugzilla/show_bug.cgi?id=17066.
  • Qt Creator 3.1.1, lldb stops correctly but no message

    2
    0 評價
    2 貼文
    1k 瀏覽
    A
    Please open a report at bugreports.qt-project.org and attach the debugger log (contents of right pane of Window->Views->Debugger Log) there.
  • How to add .qmlproject into subdirs .pro project?

    2
    0 評價
    2 貼文
    1k 瀏覽
    A
    You can't. qmake doesn't know about .qmlproject file. You could try to work out a solution based on a TEMPLATE = aux based .pro file.
  • Debugging horribly slow Qt-Creator 3.1.2, mingw64 with gcc 4.9.1 on windows

    2
    0 評價
    2 貼文
    2k 瀏覽
    A
    If that's a non-Qt-type a possible reason is Qt Creator's pretty printing trying too hard to extract QObject names from types that aren't QObjects but look similar. You could try 3.2 beta which should fix that particular problem. If that doesn't help, consider opening a bug report at bugreports.qt-project.org and attach the debugger log (contents of right pane of Window->Views->Debugger Log) there.
  • How to get event properties

    2
    0 評價
    2 貼文
    809 瀏覽
    A
    Use "QObject::sender()":http://qt-project.org/doc/qt-5/qobject.html#sender and "qobject_cast":http://qt-project.org/doc/qt-5/qobject.html#qobject_cast in a slot to get a pointer to the sender.
  • [SOLVED] Building Qt Creator fails

    2
    0 評價
    2 貼文
    2k 瀏覽
    K
    With assistance from the support group at Digia, I was able to solve this issue. For the sake of posterity, here is the procedure I followed to successfully install Qt 5.3.1 and Qt Creator 3.2.1 on CentOS 6.4 64-bit with MySQL support: Please note: This entire process can take a couple of days to complete: @1. Install CentOS 6.4 Basic Server + mysql and web server support. 2. yum update@ There will be hundreds of updates so this may take a several minutes (15 to 20 minutes). Last time I did this, it installed 382 updates. 3. Install dependences for Qt: as root: @yum install libxcb libxcb-devel xcb-util xcb-util-devel yum install flex bison gperf libicu-devel libxslt-devel ruby yum install git yum install gcc-c++ yum install mysql-devel yum install libX11-devel yum install libXrender-devel yum install libusb-devel yum install mesa-libGL-devel@ Install devtools @wget http://people.centos.org/tru/devtools-1.1/devtools-1.1.repo -P /etc/yum.repos.d sh -c 'echo "enabled=1" >> /etc/yum.repos.d/devtools-1.1.repo' yum install devtoolset-1.1@ Download latest Qt from Git: @git clone git://gitorious.org/qt/qt5.git qt5 cd qt5 git checkout stable perl init-repository@ This will take 30 to 45 minutes. Set the environment By default, CentOS will set the following environmental variables: QTDIR=/usr/lib64/qt-3.3 QTINC=/usr/lib64/qt-3.3/include QT_IM_MODULE=xim QTLIB=/usr/lib64/qt-3.3/lib These must be unset before proceeding. @env | grep QT@ QTDIR=/usr/lib64/qt-3.3 QTINC=/usr/lib64/qt-3.3/include QT_IM_MODULE=xim QTLIB=/usr/lib64/qt-3.3/lib @unset QTDIR unset QTINC unset QT_IM_MODULE unset QTLIB env | grep QT@ Now set the environment to use dev tools @scl enable devtoolset-1.1 bash@ Configure, build, and install shared version of Qt @cd qt5 ./configure -prefix /Qt/5.3.1_shared -shared -platform linux-g++-64 -opensource -confirm-license -debug-and-release -I/usr/include/mysql -L/usr/lib64/mysql -qt-sql-mysql @ Takes 15 - 30 minutes. make If installing on a multi-core virtual machine, type make -j# where # is the number of cores. Takes 4 to 8 hours. Sometimes best to let it run over night. As root from $HOME/qt5: @make install@ Takes 20 minutes to an hour. @make install docs@ Takes 20 minutes to an hour. Download QtCreator from git From $HOME as development user: @git clone --recursive https://git.gitorious.org/qt-creator/qt-creator.git@ Create build directory for qtcreator @mkdir qt-creator-build cd qt-creator-build@ 10 Set the environment: @scl enable devtoolset-1.1 bash export QTDIR=/Qt/5.3.1_shared export PATH=$QTDIR/bin:$PATH which qmake@ /Qt/5.3.1_shared/bin/qmake Build Qt Creator @qmake -v@ QMake version 3.0 Using Qt version 5.3.1 in /Qt/5.3.1_shared/lib @qmake -r ../qt-creator/qtcreator.pro make@ Takes 5 to 9 hours. Maybe another all nighter.
  • [solved] Qt Creator - preserve function body expanded or closed state even after restart

    4
    0 評價
    4 貼文
    2k 瀏覽
    sierdzioS
    Nice, good to hear. Happy further coding :-)
  • QtCreator: kit-specific precompiler macro definitions

    4
    0 評價
    4 貼文
    4k 瀏覽
    K
    You are welcome. Glad to see that my comment helped ;-) qmake is quite powerful, but the documentation and tutorials could benefit from a tune-up.