Is it possible to create a Qt Widgets within After Effects using the SDK?

Hello

I would like to use Qt to create dialogs and widgets inside AfterEffects.

I started with the Panelator sample in the SDK. I can include QtGui in the project, but as soon as I create any object with QObject as a base class After Effects immediately crashes with the following error: '[...] "could not be loaded (48::46)"

When I try to delay load QtCore.dll and QtGui.dll, I can at least start the plugin and see, that the accident occurred in the initializer of QObject.

I use

VS 2010

QT 4.8.5

and my buildenvironment is x 64

I was wondering if there is some sort of incompatibility of incorporation Qt into After Effects (due to the compiler/linker configuration or sets or something like that).

It is the output of the debugger:

Inhabitants:

locals.PNG

Discussions:

threads1.PNG

My code of the Panel-constructor function:

int argc = 0;

char * argv [1] = {""};

QApplication * a = new QApplication (argc, argv); ERROR GETTING PRODUCT IN THIS LINE. for a test, I traded it to QWidget * w = new QWidget(); and sometimes as well.

QWidget * w = new QWidget();

w-> show();

one-> exec();

Beyond the works AfterFX Qt fine and I also can defer loading QtCore and QtGui.

If someone of you has already experience in the use of QT in AfterEffects, I would greatly appreciate your help!

Thanks in advance.

I've heard a similar problen with QtWidgets in a different context, and that the only solution was to connect the Qt libraries statically.

Another short in the dark: try putting the dll Qt somewhere in the path (if they aren't already) or to the folder where the "After Effects.exe', because I remember, there could be situations where the"current"Directory isn't the plugin but the source of the host folder.

Tags: After Effects

Similar Questions

  • Is it possible to create a Local administrator user when you use the Profile Manager to get the configuration settings

    Hello

    We are studying the use of the Profile Manager of OS X as a way to manage our Enterprise macs.

    One of the demands made by the team, is to create an administrator user, as part of the OS X Profile which is lowered to the customer. The rationale is that this would be a way for the it team get, if the fubar user had their Mac

    I did not see this anywhere in the configuration options of the Profile Manager and so ask the people who use it as part of their everyday Toolbox, to find out if such an option is available.

    Thank you and best regards,

    Madan failed

    No, not with the Profile Manager.

    How you deploying your company Mac?  As institutionally imagery or as BYOD devices?  If image, then the image should contain a coherent local administrator account.  If the active image also the Apple Remote Desktop or SSH, you have a method of mass, control and manage the devices.  If BYOD style, then you are out of luck that the end user is the only one with the key of the device.

    You can take a look at following JAMF Casper.  Once devices are registered, you have the possibility to create accounts (However the common method is to create an account on registration).  If you deploy a BYOD approach, you should also look into DEP program Apple (https://deploy.apple.com) as more DEP JAMF (or other MDM) is a very powerful tool for light to zero touch deployment of systems.

    Reid

    Apple Consultants Network

    Author - "El Capitan Server - Foundation Services.

    Author - "El Capitan Server - Collaboration & control»

    Author - "El Capitan Server - Advanced Services '.

    : IBooks exclusively available in Apple store

  • Is it possible to create a shuttle component in Oracle ADF, where the available and selected lists are tables of the adf?

    Hi all


    We use JDeveloper Studio Edition Version 12.1.3.0.0 and deployed on GlassFish Server Open Source Edition 3.1.2.2 (build 5) and connect to the SQLServer database.


    Is it possible to create a shuttle component in Oracle ADF, where the available and selected lists are tables of the adf?



    I did a POC sample on it. I can share with you. I can't put in my dropbox because dropbox is blocked in my network. Share your email. I'll send the POC through

  • "After effects WARNING: cannot create file library/preferences/Adobe/After Effects/13.2/dummy. ???

    The error message I recibed. Please help me

    After effects WARNING: cannot create file library/preferences/Adobe/After Effects/13.2/dummy

    fix the permissions problem that prevents starting applications Adobe | After the effects of interest area

  • Is software for creating costume compatible wiuth CS5 after effect CS6?

    Is software for creating costume compatible wiuth CS5 after effect CS6? Help!

    Here is the page with full list of compatibility.

    Also, have you considered getting the latest version instead of CS6?

  • How can I stop Photoshop CS4 create a new layer each time I use the online tool?

    How can I stop Photoshop CS4 create a new layer each time I use the online tool?

    Whenever I use the online tool, a new layer is created. How can I stop this? No settings have been changed.
    Thanks in advance.

    Look at the three options in the top bar.

  • Is it possible to create a composition widget in another widget of composition? If so, how?

    I am trying to create a site where the entire site is contained in a widget of composition rather than hyperlink menus. The only problem is that I need to have another widget to membership in one of the subsections for some content. I created two widgets but the additional widget does not appear in the appropriate section. When I activate the low mode, it keeps popping up as a separate publication on each single section. How can I make/move the composition in the region of the target of another composition?

    Same trigger can be used for different targets, you should place the containers and trigger inside the primary composition container and then it should show the expected behavior.

    Thank you

    Sanjit

  • Is it possible to create a variable that tells you what slides, the user has visited?

    Hello.

    I'm working on a project where I want a slide to display a button continue and hide the 2 areas of text, but ONLY when the user has already visited 2 other slides. I can only find variables indicating the slide the user previously visited.

    Is it possible to set a variable that does this?

    I want to create the following advanced measures:

    If the user has visited slides 62 AND 87, image_536 to show and hide text_caption_243 and text_caption_242

    I don't want action be executed if only 1 2 slide have been opened - it must occur when the two were opened.

    Hope that makes sense.

    I use 7 Captivate.

    Thank you.

    You will need two variables, it can be Boolean values. I will label them v_one and v_two with a default value of 0

    Because I don't know how the slides are formatted, do you use a Next button or are all visited media executives? You will need to have an event on the two blades to trigger an action:

    Assign the v_one with 1 slide 62

    And a similar action on the other slides to alternate v_two (do not use the toggle command, if the user accesses a slide twice, it could be toggled to 0).


    You do not specify where these text containers need to be (please, label your objects and slides)? But you'll need advanced conditional action triggered by another event somewhere:

    IF v_one is equal to 1 AND

    v_two is equal to 1

    See the Text1

    See the Text2

  • Is it possible to create a Dimension attribute in a database of the ASO?

    When I create the parent of the initial attribute and try to save the outline, it gives me an error that I need to associate the dimension of the attribute to the dimension of the base. So I go to my Member of L0 but the associations tab is grayed out. Any ideas if it's possible to create? Thank you!

    Okay, you do that.
    1. create the dimension of the attribute
    2. click on the basis dimesnion
    3 right-click on the DIMENSION NAME and select Edit properties
    4. click on the attributes tab. You should see a list of the dimensions of the attribute
    5. once the dimension is associated with the base dimension, you can assign attributes to members

  • How can I create a series of blocks of text using the Excel list values?

    It is first of all, the first script I am trying to write from scratch. I'm completely green at the script and I picked up a few bits of ID Adobe scripting guide, but nothing has really stuck still relating to this particular goal.

    My supervisor maintains a master list of advertising space, with the name of the account, is the width of the space, and how space is the height, in an Excel sheet. These spaces can number in the hundreds, and I'm stuck manually drawing a rectangle for each space, which takes a lot of time.

    I would like to create / helped to create a script that will take these values and "magically" to draw these spaces in the form of blocks of text, with the width (in columns) and the height (in inches) defined by the values in the main list, as well as the name of each account in the subsequent text frames.

    The script didn't necessarily need to be able to pull the values directly from the Excel sheet; Can I transfer a file text if necessary, or directly in the script, values he change because I need it. A great thing (if she is not able to pull directly from an Excel sheet) which is the number of spaces a week changes, and so do the accounts and the width and height. Accordingly, it would be ideal that values of the sheet could be modified easily, in order to create a new set of spaces as necessary.

    Positioning for each space is not crucial, only the height and width. If they were all on top of each other on the same page, it is a result for me. The main idea is to not have to draw them all manually, one by one.

    For me, this looks like a command, but I hope that some experienced there Scripting Guys can help me, because I want to become experienced as well.

    Thus, the TL; DR version:

    -Script to draw a series of text blocks.

    -Size of the text boxes should be defined by the values width and height of spreadsheet Excel.

    -Text blocks must have the account name as content (from account in the Excel worksheet names).

    -Accounts, width and height changes every week in the Excel sheet, so must be relatively easy to exchange all values.

    -Width values on the Excel worksheet columns. It would be ideal that the script could turn those numbers into multiples of columns as necessary.

    -Script (optionally) can take values directly from Excel sheet.

    -Script (option) can set the fill color for the gray text frame. (If it works as I think, I could just select all the resulting images of the text myself and put them all to grey at the same time... I'm not lazy as )

    Thanks in advance to anyone who can help in any way possible, even if it's just a little push in the right direction. This script will save 1 to 2 hours of boredom every week.

    Look like the perfect thing for the InDesign scripting.

    I copy content from Excel to a text file, for a format easily read in InDesign, and there will automatically be a TAB for each 'cell', just using copy and paste.

    Here is a piece of code, perhaps you could go on with (the addition of variable to change pages and the location on the page and other things).

    The readFileLineByLine function, can be easily reused with any function using "recall". You simply tell the function what you want to be executed for each line of text that reads:

    const COLUMN_WIDTH = 2; // Define the column width in inch
    
    var pageIndex;
    var textFramesExported; // not implemented.
    
    // Add a new dokument. Set myDoc to app.activeDocument to use
    // the current document instead of creating a new one.
    var myDoc = app.documents.add();
    
    // The doSomethingWithTextRow function is called upon for every line of text read.
    readFileLineByLine('c:\\test.txt', doSomethingWithTextRow);
    
    function doSomethingWithTextRow(row){
        // We expect the text line to be TAB separated (\t = TAB). We get that from just copying the contents of an
        // excel file into a text document.
        var cells = row.split('\t');
        var companyName = cells[0]; // The Company name in the first slot of the array
        var width = COLUMN_WIDTH * cells[1];
        var height = cells[2];
    
        // Create a new text frame for every row handled
        if (pageIndex==undefined) pageIndex = 0; // Count up when you have exported a number of texts, I leave this for you to do.
        var newTextFrame = myDoc.pages[pageIndex].textFrames.add();
        newTextFrame.contents = companyName;
    
        // The text frame is created in the top left corner.
        newTextFrame.geometricBounds = [0, 0, height + ' in', width + ' in']; // Top, Left, Bottom, Right 
    
        // You might want to move the textframes to other positions, keeping track of how many you put out per page.
        newTextFrame.move( [10, 10] );
    }
    
    function readFileLineByLine(path, callbackFn){
        var myFileIn = new File(path);
        if (File.fs == 'Windows'){
            // This was probably added to recognize UTF-8 (even without its start marker?)
            myFileIn.encoding = 'UTF-8';
        }
        myFileIn.open('r');
        var myEncoding = myFileIn.encoding;
        try{
            if (!myFileIn.exists){
                throw('Missing file: ' + myFileIn.fsName)
            }
            var ln = '';
            while(!myFileIn.eof){
                // Read the lines from the file, until an empty line is found [now as a remark].
                ln = myFileIn.readln()
                // if(ln !='' && ln!='\n'){
                   // Call the function supplied as argument
                   callbackFn(ln);
                // }
            }
        }catch(e){
            alert(e);
            gCancel = true;
        }
        finally{
            myFileIn.close();
        }
    }
    

    The file in C:\ in my example was recorded in UTF-8 format and looks like this (showing hidden characters):

    Post edited by: Andreas Jansson

  • How to create different types of analog inputs without using the DAQ assistant?

    Hi all

    I would like to create multiple entries multiple analog channels of type... I mean I want to have the voltage of 5 and 2 channels of temperature...

    However, I am not using the DAQ assistant. I use "create channel" vi.

    Can anyone suggest me please how to do / I submit my VI for reference... I have 5 tensions, and 2 temperature characterized as showing these 2 two separate graphics...


  • What are the after-effects of the techniques used to create "Weaving Seagram" Elena Manferdini?

    I am currently working on a short clip and I'd like to get a similar effect as video "Weaving Seagram" Elena Manferdini. Weaving mies: Seagram_close up on Vimeo 01

    I know a few basics and I'm guessing that the video use the scan of the crack or the effect of travel time in sequels. I would appreciate if someone can tell me what other techniques are used to create the effect of smooth transition that transform a photo into a dynamic animation.

    Thank you!

    This kind of effect can be achieved by masking and radical scaling to 'y '.

    Place the anchor point where you want the scaling to be centered, duplicate the layer, draw the mask by the anchor point (alignment assistance) and then are resized in there until you get the desired effect.

    It seems that you could do the whole project by simply adding a group of layers and masks.

  • New files created when to split a PDF file using the Adobe SDK are much higher than expected

    Hello. I use the kit Adobe SDK to split large PDF into a set of small PDF files, using a set of page ranges. I created 2 PDDocs.  One is for the original PDF, which I open it.  In the other, I insert a range of pages of the original.  I'm doing this for each set of pages.

    objPDDocNew.InsertPages (-1, objPDDoc, startPage - 1, lngPageCount, 0)

    It works fine, except that the combined size of the smaller PDF files is 10 or more times the size of the original PDF file! Y at - it an explanation for that? Y at - it a setting that I can put to reduce the size of the output files? I run my program of my Windows 7 desktop that has Adobe Acrobat XI. Thanks for any help you can provide.

    You can get an idea on what elements are the use of how much space in the PDF file by opening the various Acrobat Pro files, and then select file > save as other > optimized PDF - then click on the "Use of space Audit" button in the upper right corner of the dialog box that opens. When you compare the use of the space of your source files with the file target that you can discover what is causing the increase in the size.

  • Cant' create a preset for scanning to PDF using the same scanner but different version of Acrobat

    Hello

    We have improved workstation 3 out of 4 in Acrobat Pro XI and since then, we have been unable to use the create a PDF file from a scanner.

    The scanner has not changed (Dell MFP) and the driver has not changed either. Our colleague who always uses v9.2 PRO is able to create a PDF from a scanner (using the B & W preset) without any problem.

    We are on the other hand is more able to create PDFS from a scanner - it throws an error message saying that the scanner model does not support the predefined settings: it IS! (since the other user can do).

    The only difference is that we have upgraded.

    The only way we can get the scanner to work is through a customized analysis and then a helper opens to scan or listen to samples that never happened before.

    Can you please help? It's very frustrating. Should we cancel our subscription and return to v9?

    Thank you!

    Best,

    Hi msfdr,

    I guess that the problem on windows computers.

    Try steps.

    1. click on the Start button > Search > run.

    2. run start.

    3. type %AppData%, hit OK.

    4. you will get localized name\AppData\Roaming user C:\Users\ (xxxxx)

    5. go into the folder Adobe > Acrobat.

    6 If Acrobat 11.0, there should be 11.0 folder. Rename the folder in Old_11.0.

    7 launch Acrobat again and try.

    Kind regards

    Ajlan Huda.

  • RE: "Unable to create are" won't launch after effects CS 5

    My brand new After Effects CS5 launch due to "Unable to create are" error.

    I'm running OS X 10.6.3 on a 17 "with the form below.

    After that Effects CS3 works well. What is the solution?

    Model name: MacBook Pro

    Model identifier: MacBookPro5, 2

    Processor name: Intel Core 2 Duo

    Processor speed: 3, 06Ghz

    Number of processors: 1

    Total number of cores: 2

    L2 Cache: 6 MB

    Memory: 8 GB

    Bus speed: 1.07 GHz

    Boot ROM version: MBP52.008E.B05

    Version of the SCM (System): 1.42f4

    Serial number (System): W89400R18YB

    Material UUID: E2300327-D5D3-5DC2-85CF-9FFA9CEAD9ED

    Motion sensor sudden:

    State: activated

    This bug is corrected in the after effects CC (12.1) update:

    http://Adobe.LY/AE_CC_12dot1_details

    Let us know how it works when you tried with the new update.

Maybe you are looking for