First of all, I'm new to Qt, so if something is obvious to some more advanced users, then I Also know this error is too much cropped and I have read a lot on the QT forum and still is not able to solve my problem.
But I do not understand why I can not find the code for architecture x86_64 because I was working on my application all day without any problem.
I am creating an image editor in Photoshop's choice for an apartment in Uni's own cross-platform SW Development course and I am writing with my rest code, I am writing from the rest of my code I want to type, so I got the filter
class.
In my mainwindow.h
I have created a personal reference for the class filter * filter;
which I immediately used in the mainwindow.cpp
main window :: main window (QWidget * guardian): QMainWindow (parent), UI (new UI: : MainWondo) {// instanciate a visual object that we can draw and then set the UI = new QGraphicsScene (this); Filter = new filter (this); UI- & gt; SetupUi (this); QObject :: Connect (ui- & gt; cmdBlack_White, Signal (Trigger), Filter, Slot (SerialFilterBlack White (Image)); }
As you can see, I have made a connection to serialFilterBlackWhite
in the filter.cpp
and X86 error Does not do much due to:
QPixmap filter :: SerialFilterblack image {image.fill (Qt :: red); Return image; }
The .h
file for the class looks like this:
#ifndef FILTERS_H #define FILTERS_H #include & lt ; QObject & gt; # Include & lt; QPixmap & gt; Category Filter: Public QObject {Q_OBJECT Public: Clear Filter (QWidget * parent = 0); Hint: Public Slots: QPixmap SerialFilterBlack White (QPixmap); }; #endif // FILTERS_H
I have not tried to boil my question with too much questions, but if you need more then please tell me I do not know that What's going on with it
Comments
Post a Comment