However, there are Qt base libraries.. QtExt for instance, that do allow the
attachments from QByteArray, and they do all the computation into Base64 hidden
from the user.
Scott
From: interest-bounces+scott.bloom=onshorecs@qt-project.org
[mailto:interest-bounces+scott.bloom=onshorecs@q
Am 28.02.2014 um 02:58 schrieb Marcelo Estanislau Geyer
:
>
> So that they can understand, I need to put the contents of a pdf file into a
> QByteArray, as this QByteArray is used as an attachment in the email sending
> process.
What makes you think you can attach any random BLOB to an email
>
> https://bugreports.qt-project.org/browse/QTBUG-7684?focusedCommentId=124122&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel
>
> So it seems that moc can not support something that is perfectly legal to
> do?
>
The link you pointed out already mentions that you need to dec
Make sure you open the file in binary mode. PS files are text, PDFs have both
text and binary modes. Default is binary.
QFile f("file.pdf");
QByteArray ba;
if (f.open (QIODevice::ReadOnly))
{
ba = file.readAll();
}
Should be all you need.
From: Marcelo E
Em sex 28 fev 2014, às 01:58:39, Marcelo Estanislau Geyer escreveu:
> So that they can understand, I need to put the contents of a pdf file into a
> QByteArray, as this QByteArray is used as an attachment in the email
> sending process.
>
> I did a test with a postscript file (.ps file) and it wor
If you want to test sending en email, send it an check what happens. Or,
at least, print the final (i.e. with all encoding and other things being
done, exactly what you'd send to an SMTP server) message. Don't try to
print a PDF file contents "as is" — it's not a 100% text-based format
and may cont
So that they can understand, I need to put the contents of a pdf file into a
QByteArray, as this QByteArray is used as an attachment in the email sending
process.
I did a test with a postscript file (.ps file) and it worked perfectly. I only
have this problem with pdf files.
How can I read and
Hi all,
I am trying to run the Qt AudioRecorder sample, it works on Windows 8,
Android, OSX 10.9.
When I try to run on a mini-ipad , It compiles and runs on the device, however
I receive the following error:
defaultServiceProvider::requestService(): no service found for -
"org.qt-project
Signals and slots of course are inheritable, but I've never seen someone
declare a signal, then use it as a property notifier in subclass.
That's the issue.
From: Michael Jackson
To: Jason H
Cc: ""
Sent: Thursday, February 27, 2014 12:35 PM
Subject: Re: [
it is declared in A? The signal is declared in A. Signals are protected from my
understanding so the "signal" should be available in subclasses. But because
moc probably does not understand inheritance it gets confused. I'll redesign
the classes I guess.
Thanks
Mike J.
On Feb 27, 2014, at 11:5
I still have this issue. ANY ideas?
From: Jason H
To: Interests Qt
Sent: Monday, February 24, 2014 3:19 PM
Subject: [Interest] Android: Can't create main activity /
libplugins_bearer_libqgenericbearer.so: open failed
I'm trying to debug an android a
Moc may be confused by a few things.
1. Q_PROPERTIES normally sppear at the top
2. your notifier is not in the class you are declaring it as. Either declare it
in A, or override it yourself.
Moc is almost magical, but it doesn't have run or compile-time introspection.
It can only parse the tex
On Feb 27, 2014, at 11:24 AM, Michael Jackson wrote:
> I am trying to make sure I truly understand the Signals/Slots mechanism
> because this once has me a bit stumped. I _think_ what I am trying is legal
> but maybe not. Best is an example:
>
> class A : public QObject {
> Q_OBJECT
>
> ….
I am trying to make sure I truly understand the Signals/Slots mechanism because
this once has me a bit stumped. I _think_ what I am trying is legal but maybe
not. Best is an example:
class A : public QObject {
Q_OBJECT
….
signals:
void parametersChanged();
….
};
class AlignSectionsFeatur
On Thursday 27 February 2014, Rich Conlan wrote:
> Those are updates to Qt WebKit. What I’m looking for info on is WebEngine,
> which is the embedding of Chromium in Linux.
>
> The latest info I can find is from a January blog post,
> http://blog.qt.digia.com/blog/2014/01/23/qt-webengine-technolog
Thanks for the hints
From: Clément Geiger [mailto:clement.gei...@gmail.com]
Sent: 27 February 2014 13:57
To: Graham Labdon
Cc: Interest@qt-project.org
Subject: Re: [Interest] QTreeView and context menu
Hello Graham,
You can use the contextMenuPolicy Qt::CustomContextMenu. In that case, when
your
On Thu, Feb 27, 2014 at 12:37 PM, Saether Jan-Arve
wrote:
> First, I would consider using SplitView.
>
> If that's not an option, I'm curious why you want to use a layout, and which
> of its features you want. Specifically, I'm curious to know what behavior you
> expect when a handle is resized.
Those are updates to Qt WebKit. What I’m looking for info on is WebEngine,
which is the embedding of Chromium in Linux.
The latest info I can find is from a January blog post,
http://blog.qt.digia.com/blog/2014/01/23/qt-webengine-technology-preview-available/
I’d thought it was due to be part of
Hello Graham,
You can use the contextMenuPolicy Qt::CustomContextMenu. In that case, when
your QTreeView receives a right-click, it sends a signal
contextMenuRequested(QPoint) that you can connect to a slot. In that slot,
you are able to know which item has been clicked through
QTreeView::indexAt(
- Original Message -
> From: "Karsten Heimrich"
> To: interest@qt-project.org
> Sent: Thursday, 27 February, 2014 1:04:24 PM
> Subject: Re: [Interest] Qt installer framework: maintenance tool update fails
> silently
>
> Did you bump the version number of the component you've updated? You
Hi,
On 26.02.2014 17:56, Wiebe Cazemier wrote:
> Hi,
>
> I created an installer for our Qt application with the Qt Installer framework
> (1.5 on Windows 7). I'm trying to install an update, and so I uploaded new
> files to the repository created by repogen. When I start the maintenance tool
> (
First, I would consider using SplitView.
If that's not an option, I'm curious why you want to use a layout, and which of
its features you want. Specifically, I'm curious to know what behavior you
expect when a handle is resized.
Should it redistribute all items to the left and all items to the
Hi
I have developed a class derived from QAbstractItemModel and am using it to
display data in a QTreeView.
I want to display a context menu when the user right clicks on an item in the
tree. The contents of this menu are dependent on which item in the tree has bee
clicked and the result of the
23 matches
Mail list logo