[Qt-interest] how to set dll path
Vincent Cai
wcai at cypress.com
Tue Sep 20 13:00:30 CEST 2011
Dear all,
I am newbie with QT. :)
Current, I am trying to create an application with external dll.
I can create dll successfully.
And if I copy the dll to the application directory, the application can load dll and run correctly.
But, I don't wanna to copy dll manually, instead, I hope I can set the dll path in the application code and hope the application can go to the dll path and load it.
My dll located at: "E:/wcai_perforce/LTS_R3/CFT members/WCAI/Projects/TSA/Qt/TSA-build-desktop/Gen4/Gen4TSA/debug/mydll.dll"
And I tried below code but fail:
QCoreApplication::addLibraryPath("E:/wcai_perforce/LTS_R3/CFT members/WCAI/Projects/TSA/Qt/TSA-build-desktop/Gen4/Gen4TSA/debug/");
Could anybody help?
Thanks in advance,
Vincent.
-----Original Message-----
From: qt-interest-bounces+wcai=cypress.com at qt.nokia.com [mailto:qt-interest-bounces+wcai=cypress.com at qt.nokia.com] On Behalf Of Micha? Sawicz
Sent: 2011年9月20日 18:43
To: qt-interest at qt.nokia.com
Subject: [Qt-interest] Accessible QActions in QMenu?
Hi all,
I'm trying to get QActions of a QMenu accessible, I've been digging around for a day and couldn't find much useful apart from a SO question [1] where an answer suggests I'd need to provide a custom QAccessibleInterface for either the QMenu or QAction, but no success story.
I also found a QAccessibleActionInterface in gui/accessible/qaccessible2.h, but it's undocumented and so I'd love to get some input from anyone more knowledgable than me.
[1]
http://stackoverflow.com/questions/3561618/how-to-set-accessible-name-of-qactions-contained-in-a-qmenu
Cheers,
--
Michał (Saviq) Sawicz <michal at sawicz.net>
This message and any attachments may contain Cypress (or its subsidiaries) confidential information. If it has been received in error, please advise the sender and immediately delete this message.
More information about the Qt-interest-old
mailing list