About 37 results for qt5 - Page 1

Re: QT5 and Encoding Again Programming Software Development by J-P1988 ... i heard that an bug of QT5 the french accents thing QT5 and Encoding Again Programming Software Development by J-P1988 Hey! When i compile my code in Qt5, i get an weird symbol of triangle with an "?&… debian qt problem Programming Software Development by ckide …-dev and found this problem moc_mainwindow.o -L/home/damb/Qt5.2.1/5.2.1/gcc/lib -lQt5Widgets -lQt5Gui -lQt5Core… Reading a file into Qt Programming Software Development by butterfingerss I am using Qt5.2.1 and I made a program that stores some … Radio button in Qt GUI Programming Software Development by butterfingerss I am using Qt5.2.1 and I made a program to do some stuff. In it I added a radio button (named 'others') i want that when the user clicks this button a line edit pops up besides it and lets the user enter some stuff inside it. when the user clicks another radio button, this line edit goes away. Please please help me! Sorting in text file through program in Qt Programming Software Development by butterfingerss I am using Qt5.2.1 I made a program that stores some values(like name, number, other details...) in a text file. I want to arrange this information according to the name. Something like this. A Alan 24140239 some_other_info Avril 64376334 some_other_info B bob 532523 some_other_info And so on C++ or cURL solution for posting on own Facebook wall via a Windows app Programming Software Development by Amir_6 Hi, I'm developing a software in C++/Qt5 and I would like to create a button, which when … (QT) C++ QList<QLabel*> Index out of range Programming Software Development by J-P1988 …>::operator[]: "index out of range", file ..\..\..\Qt\Qt5.1.0\5.1.0\mingw48_32\include/QtCore/qlist.h… Compliler memory error Programming Software Development by James19142 I just started using Qt5 and now i'm getting an error which seems to … Re: Qt with visual studio 2010 Programming Software Development by mike_2000_17 …-Bash): $ git clone git://gitorious.org/qt/qt5.git qt5 where the last "qt5" in that line is the name of… Re: New application program Programming Software Development by sbesch … is no longer supported. Right now my preferred environment is Qt5 - stable, open source and cross platform. On Linux it uses… really nice for item 4 and OK for Item 3. Qt5 is really very VB-like in regard to item 4… Re: Learning Graphics Programming Software Development by dilantha.prasanjith.96 … book .. which is like a manual .. or if you like QT5 you can use this online book .. [clikc here](http://qmlbook… Re: What's the best language Programming Software Development by LesF … it to run on many. I have been reading about QT5 and their QML markup language for UI, and this is… Re: Averaging home prices Programming Software Development by richieking Your code runs without error on my ubuntu Qt5.1. Can you post your error? Re: QT5 and Encoding Again Programming Software Development by J-P1988 what do you need more i can post it Re: QT5 and Encoding Again Programming Software Development by rubberman Not enough information and your attachment shows nothing helpful... :-( Remember that Qt is a C++ application library / IDE. It probably doesn't like non-ascii characters for symbol names (ascii values < 128). The locale settings probably don't have any effect, though I don't know for sure. My last work with Qt was 4.x. Qt5: AttributeError: 'module' object has no attribute 'QApplication' Programming Software Development by random_1 from PyQt5 import QtCore, QtGui, QtWidgets # Import the PyQt5 module we'll need import sys # We need sys so that we can pass argv to QApplication import design # This file holds our MainWindow and all design related things # it also keeps events etc that we defined in Qt Designer import os # For listing … Re: debian qt problem Programming Software Development by panqnik Did you compile Qt with OpenGL support? GL is OpenGL library (afaik). Re: Reading a file into Qt Programming Software Development by Moschops I suspect the reason they didn't work is that you made a mistake. If you want to use an object provided by the QT libraries, QFile might do. Re: Reading a file into Qt Programming Software Development by NathanOliver What do you mean by they didn't work? You should be able to compile the following program on any standard compliant compiler. #include <iostream> #include <string> int main() { std::string helloWorld = "Hello World!"; std::cout << helloWorld << std::endl; // … Re: Reading a file into Qt Programming Software Development by butterfingerss @Moschops I come from a consol C++ background ( not much experience but I do know a few things) The thing is I tried using using the standard C++ libraries but for some reason they didn't work. I would prefer using Qt libraries just to provide me sense of continuity. :D Re: Reading a file into Qt Programming Software Development by Moschops "QT" is just the name given to a set of libraries and related. The OP is not coding in "QT"; they are coding in C++. I suspect that the OP has downloaded QT Creator and thinks that QT is some kind of separate programming language. It is not. You're coding in C++. If you absolutely insist on using QT libraries for doing things … Re: Reading a file into Qt Programming Software Development by Ancient Dragon Try reading [their documentation](http://qt-project.org/doc/). I don't use QT, I assumed, maybe wrongly, QT supported standard C++ libraries. Re: Reading a file into Qt Programming Software Development by butterfingerss @Ancientdragon how do I impliment this in qt ... i mean what functions does qt provide similar to getline and atoi? Re: Reading a file into Qt Programming Software Development by David W If your data file has validated data ... all like this: 500 - 1000 : 29 1000 - 1500 : 0 1500 - 2000 : 0 2000 - 2500 : 0 And, if all that you want is the int value at the end, (or possibly you want to fill a vector of struct with all the data) : ifstream fin( "yourFileName.txt" ); if( fin ) { string… Re: Reading a file into Qt Programming Software Development by Ancient Dragon Unless it's a binary file where you know the offset to the data you want, the only way to read the pieces you need is to read the whole file then extract the data from that. With text files it's impossible to seek to the data because you never know exactly where it's at. First read a line of the file into std::string, then use string's find() … Re: Reading a file into Qt Programming Software Development by butterfingerss @panqnik what do you mean? I am sorry if I sound a little dumb but just started programming Re: Reading a file into Qt Programming Software Development by panqnik Override << and >> operators in ifstream/ofstream. Re: Reading a file into Qt Programming Software Development by butterfingerss @Ancient Dragon I dont just want to read it. I want to read specific pieces of data, and use that Re: Reading a file into Qt Programming Software Development by Ancient Dragon It' just standard c++ ifstream and ofstream. When the program starts, try to open the file, if it success then read it.