Expanding lineEdit in QHBoxLayout is not working properly in qt plugins
HI, I’ve created a qt plugin with comboBox and lineEdit and put them in QHBoxLayout in Qt5. when i set sizepolicy of lineEdit to expanding, it doesn’t works properly. actually it expands itself a...
View Articleکلاس تاریخ شمسی و قمری
سلام دوستان میخواستم بدونم هیچ کلاسی برا تاریخ شمسی و قمری هست ؟
View ArticleHow to output a single line in Qt Creator 2.4.1 ?
I’m using Qt Creator 2.4.1 based on Qt 4.7.4 I’ve made a simple “Hello, world” program int main() { std::cout << “Hello World!” << std::endl; } But when I run it, nothing...
View ArticleStrange behaviour of signal/slot with QLocalSocket on Qt embedded on x86 board
Hi all, I’m trying to make a small program that detect the power button event. The platform I’m working on is an x86 Atom board that runs Ubuntu Server 12.04, with Qt embedded v4.8 (I use embedded...
View ArticleAny idea when new QML styling will be available?
Anyone got a heads up on the time scales for the new QML styling which is in the pipeline?
View Article[SOLVED]QTextEdit AlignRight causes issues with wrapMode
I have a simple program like this: #include <QTextEdit> #include <QApplication> int main(int argc, char *argv[]) { QApplication app(argc, argv);...
View ArticleHow to have atleast more than four digits/Characters
Dear Forums, I am new to Qt….I have a doubt how can i allow more than four digits/Character in a QLineEdit i have done in restricting the number of characters/digits by using setMaxlength() but im not...
View ArticleList of Object
hi all, i have a proble: i have an Object call Obj and this object extend QObject, i know that i can’t put this Object in a list like this QList<Obj> i need to use the pointer like this...
View ArticleQtCreator 2.6: remote Linux debugging issues
Hi all. I’m encountering some issues when remote debugging a Qt application using QtCreator 2.6.1. My scenario: Target: ARM embedded Linux with Qt4.7 and gdbserver Host: x86 running QtCreator 2.6.1 and...
View ArticleShow Flash (swf) content on Windows with QtWebKit 3.0 && QtQuick 2.0 && Qt 5.0
Hi guys, I’m a bit desperate because I need to display Adobe Flash content using a WebView inside a Qt5/QML app. All information I found only talks about QtQuick 1.0 on Qt 4.x but WebView has changed a...
View ArticleUnable to compile Visual Studio 2010 c++ project with Qt5
Since I moved to Qt5 I cannot compile my Visual Studio 2010 project. The Qt addin has an option to convert to an addin project but what does that mean? When I compile I get the following which I think...
View ArticleHow to click button in QWebView using code?Qt
Hello Please tell me how to click button of QwebView using code Thanks Zain
View ArticleOverriding of QWidget::event not working!!
Hey there, i am trying to override the default behavoiur of QWidget::event. I am trying to implement some touch features. On my widget i made sure to set setAttribute(Qt::WA_AcceptTouchEvents); Now...
View ArticleDrag and drop into a layout
Greetings! Here is a link [qt-project.org] about what I wanted to implement. Please take a look into the image “Inserting Objects into a Layout”. I have knowledge on how to use drag and drop but...
View ArticleMapping out Qt 5's structure
Some time ago, I mapped out Qt 5’s structure to help me better understand where things fit. I thought I’d clean up my map to share it with the Qt Project community, in case there are other curious...
View ArticleQt Creator with CMake
Hi there. How to enable console window (on Windows at least) like CONFIG += console in qmake from CMake, when running project from Qt Creator (when run execute file console is here)?
View ArticleQT 5.0 konfiguracja kompilatora
Witam, Mam problem z uruchomieniem projetu w Qt Creatorze. Przy próbie kompilowania wyświetla się błąd: “Do budowy Qt Creator wymaga ustawionego kompilatora. Skonfiguruj go w opcjach zestawu.” Na...
View ArticleQT5 keyboard layout in LinuxFB
Hi, I’m writing an embedded application using QT5 on raspbian linux and struggling with localized keyboard layout. In console I’m having those fancy czech characters, but I could not get them in...
View Article[Solved]Limit number of characters in QTextEdit
Well, I need to limit the number of characters in a QTextEdit. I found something that says to rewrite the keyPressEvent and enter a event filter. I was thinking of something like...
View Article