Tag Info

New answers tagged

0

The above problem is fixed by installing Qt Creator 3.3.0. https://qt-project.org/forums/viewthread/51072/


0

There's still quite a lot machines that runs on the 32 bit architecture. (Quite alot of people i know, still runs on the 32 bit architecture.) So it would be a good choice to make it available for those people. Ubuntu usually comes preloaded with the libraries needed to run 32 bit applications, in a 64 bit environment. If it refuses to run, install the ia32 ...


1

Ubuntu Components 1.1 is not available for Ubuntu 14.04. You have to upgrade to 14.10


1

I was having the same problem today, however, I just discovered the solution (and what the error was specifically). The problem is the qml plugin files required are not in the currently specified include directories. If you make a new app and select App with Simple UI, there will be a file called [projectName].qmlproject in the app project root directory. ...


1

You need to install intltool in the chroot in which you're building your binaries. In Qt Creator, select Tools > Options... and choose the Ubuntu item from the list at left. Select the Click tag, and then click the Maintain button next to the appropriate build target. This will open a terminal with a root shell inside the chroot. From here, use apt-get ...


2

As can be seen in the QString documentation, QString is a mutable object.


1

You can list the files in a given directory with QDir::entryList(). QDir has a number of other methods that may be useful for you as well.


0

To compare with undefined you write text === undefined. This will evaluate to false if text is null. If you want check if value is present (i.e., check for both undefined and null), use it as condition in if statement or ternary operator. If you need to store result of comparison as a boolean value, use var textPresent = !!text (though double ! might appear ...


2

Do you really need to statically link to all of Qt5? I would imagine that most modern Linuxes already have it in their repositories. It may just be that all you need to do is include Ubuntu.Components in your binary. If I were doing this, I'd just copy the Ubuntu.Components source into my project directory, as if it were another module. I've never ...



Top 50 recent answers are included