Questions tagged [qt5.7]

Tag this only for the issues specific for Qt 5.7 and not for other versions.

Qt 5.7 was released 16th June 2016.

New features list can be found here.

109 questions
0
votes
3 answers

how the outputs in Qt works

I am confused about this: I use Visual Studio 2013 when I am creating project for windows: When I use qDebug() the output goes to some console output. Is this the console I can use for input? Or I need the one from Qt+=console This code doesnt work…
user7031116
0
votes
2 answers

How to use a member of a Class method inside another method of the same Class?

how can i use the member nomeFile of setName/getName methods to set the output file name of saveFile method. QString nomeFile is private inside file.h The file i created returns the following error QFSFileEngine::open: No file name…
Massimo D. N.
  • 316
  • 1
  • 6
  • 17
0
votes
1 answer

Linear Gradient along x-axis not working. QML Qt 5.7

I need to apply Linear Gradient along x-axis in my project. But it doesn't seem to work. Even with the simplest code, that is from Qt documentation of Linear Gradient right away, it doesn't show the expected output. Here's my code.…
Farhan Haider
  • 1,244
  • 1
  • 13
  • 22
0
votes
1 answer

Comparing international strings

What I am trying to do is comparin 2 QStrings that have special characters (French) first I recieved from server as json data saved in txtInfo txtInfo = "Présenter"; When I am having condition like this it's not gonna work(its not gonna set…
Dušan Tichý
  • 498
  • 1
  • 7
  • 21
0
votes
1 answer

QT creator and ifstream filenam.c_str()

I created a C++ console application with QT creator 4.1.0 This application was originally created wiht Code Blocks and works fine. this is the code #include #include #include using namespace std; int main() { string…
Massimo D. N.
  • 316
  • 1
  • 6
  • 17
0
votes
1 answer

Qt5.7 build and -no-feature- option not existing

I want to do a light build of Qt by disabling some of the features I don't need following the doc at this address http://doc.qt.io/qt-5.7/configure-options.html As stated The -feature- and -no-feature- options include and exclude specific…
Damien
  • 1,492
  • 10
  • 32
0
votes
1 answer

Qtquick qml : How to seperate Logic from UI in Qtquick UI Application?

Suppose, I want to seperate Logic code from UI code as myApp.qml and myAppForm.ui.qml. ui.qml does not support javascript logic, for example,mouse events. Suppose, the following problem. //myAppForm.ui.qml import QtQuick 2.4 Item { Rectangle { …
kalpa
  • 657
  • 2
  • 11
  • 22
0
votes
0 answers

Is there a sort of QQuickRotation class?

There's a QQuickTransform C++ class which corresponds to the Transform QML class. Also the QML class Rotation derives from the Transform QML class. So it stands to reason that there should be a QQuickRotation C++ class as well, so I can perform…
Stefan Monov
  • 11,332
  • 10
  • 63
  • 120
0
votes
0 answers

Qt VS2015 projects load Error

Just (30.08.2016) got Qt dev-branch, compiled with nmake and got libraries. But when I create the VS2015 projects (qmake -tp vc -recursive qt.pro) and try to open them, VS2015 states an exception while…
0
votes
1 answer

QML Map.center trouble in QT5.7

I try to upgrade Qt 5.6 project up to 5.7 and get some trouble with QML Map. I have a simple project with such code: Plugin { id: myPlugin name: "osm" PluginParameter { name: "osm.mapping.host"; value:…
0
votes
0 answers

QT5.7 How to deploy Qt Application on Linux

I'm trying to make a distributable linux Qt application. It will build run and install on the machine i've built it on AND on another machine (without Qt) that's the exact same version, but not others. I'm currently building on Ubuntu 16, but on 15…
jkj yuio
  • 2,543
  • 5
  • 32
  • 49
0
votes
1 answer

(Qt 5.7.0) How to add a horizontal spacer in toolBar

I have a QtoolBar in my mainwindow. This toolBar have several QActions. I need some of this Actions to stay in the left side of the toolBar and some o them to stay at the right side. How do I make them separeted? I don't see any reason for more…
andseg
  • 658
  • 1
  • 9
  • 26
0
votes
0 answers

Packaging the Qt 5.7 Virtual keyboard example on Surface Pro tablet

I have run the Qt Virtual Keyboard example successfully with Qt 5.7 in Qt Creator on Windows 10 desktop, but if I try to run the same exe on Windows Surface Pro (running on Windows 10) by including all necessary dlls and plugins, I am just getting…
user3807950
  • 75
  • 1
  • 9
0
votes
0 answers

Qt5.7 on Ubuntu16.04 QT::serialport quick

I have a project which I am building and developing at work on RedHat 7.2 using Qt5.6 At home I have Ubuntu16.04 running on VirtualBox, I've installed Qt5.7, when I try to build the same project I get 1 issue: Unknown module(s) in QT::serialport…
SPlatten
  • 5,334
  • 11
  • 57
  • 128
0
votes
0 answers

OpenGL surface changes in Qt 5.7. Incorrect drawing textures with alpha channel

I'm use same code with Qt 5.5 class MyGlWidget : public QOpenGLWidget { Q_OBJECT public: explicit MyGlWidget(QWidget* parent = 0); virtual ~MyGlWidget(); protected: virtual void initializeGL() { QOpenGLContext* context…
Akapulka
  • 63
  • 6