qt-creator

Trying to build muParser: error: explicit instantiation of 'std::basic_ostream but no definition available

可紊 提交于 2019-12-23 09:55:42
问题 Im trying to build muParser on the mac, it worked until I upgraded XCode to 4.4 which updated gcc. Now I get the following line of code generating the error which I don't understand: mu::console() << _T(" \"") << val.GetAsString() << _T("\" "); ../muparser/src/muParserBase.cpp:1823: instantiated from here ../muparser/src/muParserBase.cpp:1823: error: explicit instantiation of 'std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::basic_string<

No application output in QtCreator debug

喜欢而已 提交于 2019-12-23 07:03:08
问题 With QtCreator 2.8 under Win7 with CDB debugger, I cannot see in the Application Output tab all my fprintf(stdout) stuff !? I tried: fprintf(stderr, "..."); fprintf(stdout, "..."); fflush(stdout); Nothing happens. In the meantime, If I check the "Run in terminal" option, it works !? Although I noticed that all the output go to debugger log !? Any idea ? 回答1: As a workaround you can enable the output in CDB console: tools/options/debugger/cdb then check "Use CDB console". To show the debugger,

What are the different platforms for Qt's configure

半世苍凉 提交于 2019-12-23 06:50:07
问题 I'm trying to build Qt on Windows with the following command: configure -static -opensource -no-webkit -no-qt3support -no-audio-backend -no-exceptions -no-opengl -no-phonon -phonon-backend and I get this error: Unable to detect the platform from environment. Use -platform command lineargument However I don't know what are the different possible values for the "-platform" argument. I tried "win32" and "windows" but none of them are right. I can't find any reference that would list the possible

Qt Creator + MITK (Linux)

人盡茶涼 提交于 2019-12-23 04:17:31
问题 I'm trying to use MITK with Qt Creator . I've successfully compiled and used VTK and ITK with ccmake. I've compiled MITK in superbuild mode (it downloads CTK, VTK, ITK, etc). Then I've configured it. I've compiled with make (About two hours). I've tried make install , but MITK doesn't work that way. With GDCM, ITK, VTK, I could find header files in /usr/local/include and shared libs in /usr/local/lib , so I included those in my .pro file in the Qt Creator project and start working. I've been

“module QtQuick is not installed” error in Release build with windeployqt

一世执手 提交于 2019-12-23 03:08:09
问题 I have a simple Qt 5.11 x64 project, MSVC 2017 compiler, with default build settings created by Qt Creator 4.7. It works fine but when I added windeployqt for copying all Qt dlls in Release build I get error (running from Qt Creator) QQmlApplicationEngine failed to load component qrc:/qml/main.qml:1 module "QtQuick" is not installed QML file has import QtQuick 2.7 .pro QT += quick widgets xml CONFIG += c++11 CONFIG += precompile_header PRECOMPILED_HEADER = stdafx.h CONFIG -= embed_manifest

c doesn't print “┌──┐” character correctly

橙三吉。 提交于 2019-12-22 17:38:41
问题 Good afternoon, I'm facing a problem on my c code and I don't know what is causing it. Every time I try to print characters like these: "┌──┐" my program simply prints some strange characters, like on this screenshot: I'm using Qt Creator on Windows, with Qt version 5.5.0 MSVC 64 bits. The compiler is the Microsoft Visual C++ Compiler 12.0 (amd64). I tried changing the locale but with no success. The only way I found to print these characters was to define them as int variables with the ASCII

How to add add custom assets into .apk file?

爱⌒轻易说出口 提交于 2019-12-22 11:14:24
问题 I need to have some files in android assets folder, how can I add them using QtCreator/QMake? 回答1: Assuming you have the following structure in your source directory: foo.pro extra_data/file1 extra_data/file2 … Adding the following to foo.pro should deploy the extra_data folder to assets://extra_data (exact path might differ, cannot verify right now) in the APK: folder_01.source = extra_data folder_01.target = extra_data DEPLOYMENTFOLDERS += folder_01 回答2: If you are developing the

Display PDF file with QWebView

你离开我真会死。 提交于 2019-12-22 09:26:56
问题 I would like to display a window with a QwebView widget in Pyside. For this I use some code generated by QtCreator: #code generated by QtCreator: from PySide import QtCore, QtGui class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(400, 300) self.centralWidget = QtGui.QWidget(MainWindow) self.centralWidget.setObjectName("centralWidget") self.webView = QtWebKit.QWebView(self.centralWidget) self.webView.setGeometry(QtCore.QRect(10,

QT KernelBase!RaiseException at 0x759fc41f

我怕爱的太早我们不能终老 提交于 2019-12-22 08:52:02
问题 A comment more than a question: The following describes an issue I had this evening and what I did to "correct" it. These events required a few hours of time to resolve. As this site is one of my favorite sources of information, thought this post might benefit someone else. Any constructive comments on diagnosing QT Creator run-time exceptions would be welcome. The exception seems to have been the result of corruption in the symbol file for QCored. Exception (QtCreator debugger KernelBase

Is there a way to reduce the amount of X11 traffic produced by Qt Creator?

折月煮酒 提交于 2019-12-22 07:06:36
问题 My team is evaluating various IDEs for an upcoming project. One of the requirements is that we wish to log into a central, powerful Linux server from our local Windows computers (our previous project was under Windows and changing it is not an option). Our approach is to use XRDP, but we are also looking at using an X11 server locally on our Windows machines. We noticed that when we try to run Qt Creator on the remote Linux machine but have it display on the X11 server running on our local