I'm porting a c++ Qt application from Windows to OSX and cannot wrap my head around the .app bundle concept. I hope someone can help me understand.
My executable lives here: MyProgram.app/Content/MacOS/MyProgram.exe
My resource folder lives here: MyProgram.app/Content/Resources/
In my code I use a relative path to reference items in t...
I've got the following class:
class SelectDateDialog(QDialog):
startDate = date.today()
endDate = date.today()
def __init__(self, text, isInterval = False):
QDialog.__init__(self)
uic.loadUi("resources/SelectDate.ui", self)
Now, the dialog is resizable on Mac OS X 10.5, but it shouldn't be. It has the resi...
I recently swapped from using MinGW to MS Visual Studio 2008 for my Qt application and in so doing the Qt image plugins and the Sqlite plugin no longer work on the QA computers.
Under MinGW it was just a case of putting the plugin dlls in imageforats folder but that does not appear to be enough in this case.
Has anybody else had this p...
I'm currently looking for a hand drawing (2D) library/module (that would be like Paint, Paint.Net or Photoshop - but I don't need all the power of Photoshop...) that would allow me to add a drawing module to an IDE application.
That application is in it's early design phase : for instance I'm only estimating if I will be able to work on...
Because of the dependency on DirectShow on windows, is it possible to use a static Qt with my application?
...
I am writing a fairly large and complex data analysis program and I have reached the point where I think it is about time to build a GUI for the program. So my question is:
Which GUI toolkit should I use?
I am completely new to coding and building GUIs and would appreciate any guidance that can be offered. It doesn't have to be the sim...
class MyWidget : public QWidget { public:
MyWidget( QWidget *parent=0, const char *name=0 ); };
MyWidget::MyWidget( QWidget *parent, const char *name )
: QWidget( parent, name ) {
QPushButton *quit = new QPushButton( "Quit", this, "quit" );
quit->setGeometry( 62, 40, 75, 30 );
quit->setFont( QFont( "Times", 1...
I'm making a small file-browser for my own use, in Ruby, and using Qt for the view. The idea is that it'll end up on my TV, where I can use the remote to move up and down and launch files.
Everything works fine, until I'm going to move the selection using the remote. I managed to set up a D-Bus service, so I'll just call the methods us...
I need to get a list of applications that are currently running so that my C++ application and make them take focus.
Has anybody done this?
...
Hello every one
In qt-designer i loaded bitmap images and in preview i cam able to view the images. But after compiling in qdevelop IDE , i could not see the images at all . Is there any procedure to load the bitmaps in to qdevelop.
Thanks in advance
Ramakrishna
[email protected]
...
I just got a new quad core computer and noticed that nmake is only using 1 process.
I used to use make which had the switch -j4 for launching 4 processes. What is the nmake equivalent?
[edit]
Based on the information below I have been able to add a command to my qmake project file:
QMAKE_CXXFLAGS += /MP
Which effectively did it for ...
I've got a QComboBox with a custom list object.
Please see Screen shot
The custom list object has a custom mousePressEvent so that when the user click on one of the circles with a +/- (a twisty), the list is expanded/collapsed.
When I use the list with the combo box, when the user clicks on a twisty, the list is expanded/collapsed, ...
I am a C# developer and work on Windows, but back in High School I took some C++ classes. We worked on console applications only. I kinda want to learn C++ GUI programming. I have been looking at Qt and was wondering if I should learn it. For fun lets make this a multiple choice answer:
A) Learn Qt
B) Learn other C++ GUI
C) Don't learn ...
I am writing a Python (2.5) GUI Application that does the following:
Imports from Access to an Sqlite database
Saves ui form settings to an Sqlite database
Currently I am using pywin32 to read Access, and pysqlite2/dbapi2 to read/write Sqlite.
However, certain Qt objects don't automatically cast to Python or Sqlite equivalents when...
Right now I have four customized QDockWidgets on the left side of my application. When you start the application, each one is visible, but very small because of the visibility of each one. I would like for three of the QDockWidgets to nest behind one primary one to give that one priority and the entire left side of the screen.
Does anyo...
I am developing a graphics application using Qt 4.5 and am putting images in the QPixmapCache, I wanted to optimise this so that if a user inserts an image which is already in the cache it will use that.
Right now each image has a unique id which helps optimises itself on paint events. However I realise that if I could calculate a hash...
Hi, I'm trying to make a distribution directory with my application. I've copied several Qt DLLs to that directory, and the program seems to be working, with one exception: it doesn't seem to find SQL plugin for SQLite. Copying qtsqlite.dll to the directory, doesn't allow my application to open or create SQLite files. What must be the di...
Does someone know of a book or tutorial explaining Qt for Delphi / C++ Builder / VCL developers?
What would be the best approach for a developer with that background to learn Qt? I'm particulary interested in how to accomplish things that I know how to do in Delphi with Qt.
For example, what is the Qt equivalent to Delphi Frames? What...
I have been using Qt creator to make applications using the Qt libraries. I can run these applications by just clicking the play button, but I want to learn how to make applications run just by double clicking on a .exe. So how can I do this?
...
So now I can make a .exe of my application. Now how do I get my application ready to deploy for windows?
...