C

<qul/errorcode.h> - Qt Quick Ultralite error codes

List of error codes reported by Qt Quick Ultralite. More...

Header: #include <qul/errorcode.h>

Types

enum QulError { QulError_Core, QulError_Allocator_MemoryAllocationFailed, QulError_AlphaMap_PixelDataOffsetOutOfLimits, QulError_Animation_AnimationAlreadySet, QulError_Animation_AnimationListIsEmpty, …, QulError_LinkedListNode_InvalidIndex }

Functions

(since Qt Quick Ultralite 2.2) const char *errorCodeToString(QulError code)

Detailed Description

This header file contains a list of all error codes reported by Qt Quick Ultralite Core and Platform. It also contains a function to convert error code into string representation.

Note: Some of the error codes are only available in debug build. The error description mentions if it is available only in debug build. To enable all error checks, Qt Quick Ultralite Core and Platform needs to be rebuilt in debug build config.

See also Error handling.

Type Documentation

enum QulError

This enum type specifies the error codes that Qt Quick Ultralite Core and Platform reports. First error code in a range begins with range start + 1. Qt Quick Ultralite Core reserves error code range 1-99999, while Qt Quick Ultralite Platform reserves range 100001-199999. Values from 200001 onwards are reserved for custom errors.

The param1, param2, and param3 in Description are integer variables that are reported to the error handler.

Note: The following table of error codes is only for Qt Quick Ultralite developers' error analysis. They should not be used to control application logic.

ConstantValueDescription
QulError_Core0Range start for Qt Quick Ultralite Core error codes.
QulError_Allocator_MemoryAllocationFailed1Memory allocation failed with size of param1 bytes.
QulError_AlphaMap_PixelDataOffsetOutOfLimits2Pixel data at offset X param1, Y param2 is not within the alpha map data. This error code is only available in debug builds.
QulError_Animation_AnimationAlreadySet3Parent object already contains an animation object. This error code is only available in debug builds.
QulError_Animation_AnimationListIsEmpty4Animation list is empty.
QulError_Animation_FirstDependencyMismatch5First dependency does not match the property data. This error code is only available in debug builds.
QulError_Animation_IsFirstDependency6First dependency already set. This error code is only available in debug builds.
QulError_Animation_ProgressOutOfRange7Interpolation of animation property failed because the progress value is out of the allowed range.
QulError_Animation_PropertyToValueIsNull8Applied to-value for the property is NULL. This error code is only available in debug builds.
QulError_Animation_BezierSplineMemoryAllocationFailed9Memory allocation failed. Allocation size in bytes is available as param1 and number of elements as param2.
QulError_Animation_BezierSplineInvalidCurvePoints10Invalid Bezier curve points. Number of the values is available as param1.
QulError_Application_ApplicationInstanceAlreadyExists11Instance for the application has been already created.
QulError_Application_ApplicationInstanceNotFound12Instance for the application not found when destructing it.
QulError_Application_GlobalStaticObjectsUninitialized13Startup script does not initialize global static objects.
QulError_Application_ItemHasNoScreen14Screen has not been set for the item.
QulError_Application_LayoutRecursionDetected15Application layout is causing recursive updates.
QulError_Application_MemoryAllocationFailed16Memory allocation failed. Allocation size in bytes is available as param1.
QulError_Application_PartialBufferPixelCountIsZero17Partial buffer pixel count is zero. Return valid pixel count from Qul::Platform::PlatformContext::partialBufferPixelCount.
QulError_Application_PartialDirtyRegionHeightIsZero18Partial dirty region height is zero. Qul::Platform::PlatformContext::partialBufferPixelCount must be at least as big as width of the layer.
QulError_Application_RenderNodeNotFoundFromRootItem19Render node was not found from the root item when setting it for the application.
QulError_Application_TransformationRenderBufferSizeMismatch20Transformation render buffer size does not match previous allocations for the given type. Type is given as param1, expected size as param2 and actual size as param3.
QulError_ArcItem_MemoryAllocationFailed21Memory allocation for a path element of ArcItem has failed.
QulError_Array_SizeExceeded22The array capacity was exceeded. The element count is available as param1 and the capacity as param2. This error code is only available in debug builds.
QulError_Array_Empty23Tried to remove element from empty array.
QulError_Array_InvalidIndex24The array index param1 was out of bounds. The element count is available as param2. This error code is only available in debug builds.
QulError_Array_EmptyFixedLengthArray25A fixed length array with zero elements can not be created.
QulError_BlendHelper_UnsupportedBitsPerPixel26Bits per pixel param1 is not supported with pixel format param2.
QulError_BlendHelper_UnsupportedPixelFormat27Unsupported pixel format for CPU based rendering. The value of the format is available as param1.
QulError_BlendTransformed_UnsupportedPixelFormat28Unsupported pixel format for CPU based rendering. The value of the format is available as param1.
QulError_DependencyBase_InvalidInsertionTarget29Given node is invalid as an insertion target. This error code is only available in debug builds.
QulError_DeviceLink_UnsupportedMessageType30Unsupported message type in device information exchange protocol. The value of the message type is available as param1. This message is deprecated since Qt Quick Ultralite v2.8.0.
QulError_DirtyList_BindingLoop31A binding loop was detected.
QulError_BindingBase_BindingLoop32A binding loop was detected.
QulError_BinaryResourceInit_InvalidResourceData33BinaryResourceData for a BinaryResource is missing.
QulError_BinaryResourceInit_PreloadAllocationFailed34Memory allocation failed for preloadable binary resource with size of param1 KB and allocation type param2.
QulError_DirtyList_LinkedListError35Linked list contains unexpected node. This error code is only available in debug builds.
QulError_DrawHelper_AlphaChannelNotSupportedInFormatConversion36Alpha channel is not supported in the pixel format conversion. Deprecated from Qt Quick Ultralite v2.5.0.
QulError_DrawHelper_BitsPerPixelMismatch37Texture bits per pixel param1 does not match layout bits per pixel param2. This error code is only available in debug builds.
QulError_DrawHelper_DestinationBitOffsetIsNotZero38Destination bit offset param1 is not zero. This error code is only available in debug builds.
QulError_DrawHelper_IncorrectScaleFactor39Incorrect scale factor. Value of delta X is available as param1 and value of fixed scale as param2. This error code is only available in debug builds.
QulError_DrawHelper_IntermediateBufferSizeTooSmall40Intermediate buffer size param1 is too small. Value of the count variable is available as param2. This error code is only available in debug builds.
QulError_DrawHelper_SourceBitOffsetIsNotZero41Source bit offset param1 is not zero. This error code is only available in debug builds
QulError_DrawHelper_UnsupportedBlendType42Blend type param1 is not supported. This error code is only available in debug builds.
QulError_DynamicList_MemoryAllocationFailed43Memory allocation failed. Allocation size in bytes is available as param1.
QulError_DynamicList_InvalidSharedDataPointer44Invalid pointer to shared data. This error code is only available in debug builds.
QulError_DynamicList_InvalidIndex45Index param1 is not in a valid DynamicList range of size param2.
QulError_EventQueue_UnsupportedOverrunPolicy46Unsupported overrun policy. Value of the overrun policy is available as param1.
QulError_ExtraDataPointer_DataAlreadySet47Data has been already set. This error code is only available in debug builds.
QulError_ExtraDataPointer_MemoryAllocationFailed48Extra data pointer memory allocation failed.
QulError_EncodedLogicalPos_InvalidFormatIndex49Unused.
QulError_EncodedLogicalPos_InvalidFormatType50Unused.
QulError_SourcePos_InvalidFormatIndex51Invalid format index. This error code is only available in debug builds.
QulError_SourcePos_InvalidFormatType52Invalid format type. This error code is only available in debug builds.
QulError_FastFloat_Generic53Generic fast_float error.
QulError_FastFloat_LeadingZeroOfZero54Tried to get leading zeros of a zero.
QulError_FlagPointer_Invalid55FlagPointer is invalid. This error code is only available in debug builds.
QulError_FlagPointer_TypeInvalid56The FlagPointer points to a type different than expected. This error code is only available in debug builds.
QulError_FontEngine_InvalidX57X param1 is not within numeric limits param2.
QulError_FontEngine_InvalidY58Y param1 is not within numeric limits param2.
QulError_FontEngine_UnsupportedVectorOutlines59Font engine does not support vector outlines.
QulError_FontEngineSpark_BytesPerLineMismatch60Bytes per line param1 for alpha map does not match with bytes per line param2 for glyph map. This error code is only available in debug builds.
QulError_FontEngineSpark_ControlElementsNotSet61Vector outline control elements has not been set.
QulError_FontEngineSpark_FailedToCopyFontFileToRam62Failed to copy the font file to RAM on startup. param1 is the size of the font file and param2 is the runtime allocation type.
QulError_FontEngineSpark_FailedToLoadFontFile63Failed to load the font file from the resource data.
QulError_FontEngineSpark_InvalidControlElementCount64Vector outline control element count param1 is greater than max param2.
QulError_FontEngineSpark_InvalidSegmentTypeCount65Vector outline segment count param1 is greater than max param2.
QulError_FontEngineSpark_NativeGlyphMapDataNotSet66Native glyph map data has not been set.
QulError_FontEngineSpark_UnsupportedFontWeight67Unsupported font weight param1.
QulError_FontEngineSpark_UnsupportedMarginSize68Width including padding minus glyph map width is greater than 0xFF. Width including padding is available as param1 and glyph map width as param2. This error code is only available in debug builds.
QulError_FontEngineSpark_UnsupportedSegmentType69Unsupported vector segment type.
QulError_FontEngineSpark_SegmentTypesNotSet70Vector outline segment types has not been set.
QulError_FontEngineSpark_SparkStateNotSet71Spark state has not been set.
QulError_FontEngineSpark_VectorOutlineNotSet72Vector outline has not been set.
QulError_FreeTypeRasterizer_UnsupportedPixelFormat100032Unsupported pixel format. The value of the format is available as param1.
QulError_FreeTypeRasterizer_UnsupportedBrushPattern100033Unsupported brush pattern. The value of the pattern is available as param1.
QulError_Glyph_InvalidIteratorState78The iterator is in invalid state. This error code is only available in debug builds.
QulError_ParagraphInfo_ParagraphChangedCalled73Paragraph changed callback not seen but was expected at this context. This error code is only available in debug builds.
QulError_GlyphLayoutCache_Invalid_State74Invalid state. This error code is only available in debug builds.
QulError_GlyphLayoutCache_GlyphDataDoesNotFitInCache75Memory allocation failed. The cache must be large enough to hold all glyph data allocations for the longest string, see MCU.Config.glyphsLayoutCacheSize.
QulError_Glyph_Invalid_State76Invalid state. This error code is only available in debug builds.
QulError_Glyph_TextEndReached77Attempted to read next glyph when text is already at the end. This error code is only available in debug builds.
QulError_Glyph_ParagraphChangedCallbackAlreadySet79Paragraph changed callback has been already set. This error code is only available in debug builds.
QulError_Glyph_ParagraphSizeIsZero80Paragraph size is zero. This error code is only available in debug builds.
QulError_Glyph_TextIsEmpty81Text has not been set. This error code is only available in debug builds.
QulError_Glyph_TextShaperNotSet82Text shaper has not been set. This error code is only available in debug builds.
QulError_Glyph_UnexpectedNullParagraph83Paragraph pointer is not set.
QulError_Glyph_UnexpectedNullFontEngine84Unexpected null font engine. This error code is only available in debug builds.
QulError_Glyph_InvalidVisualIndex85Invalid visual glyph index. This error code is only available in debug builds.
QulError_Glyph_InvalidLineFontMetrics86Invalid line font metrics. This error code is only available in debug builds.
QulError_Glyph_NotImageFormat87Glyph is not an inline image. This error code is only available in debug builds.
QulError_Gradient_NoGradientStops88At least one gradient stop has to be provided.
QulError_GraphicsDevice_DrawingEngineNotSet89Drawing engine has not been set. This error code is only available in debug builds.
QulError_GraphicsDevice_DestRectSizeIsNotSameAsSourceRectSize90Destination rectangle with width param1 and height param2 is different than source rectangle size. This error code is only available in debug builds.
QulError_GraphicsDevice_InvalidClipRectBottom91Clip rectangle bottom param1 is equal or bigger than buffer height param2. This error code is only available in debug builds.
QulError_GraphicsDevice_InvalidClipRectLeft92Clip rectangle left param1 is less than 0. This error code is only available in debug builds.
QulError_GraphicsDevice_InvalidClipRectRight93Clip rectangle right param1 is equal or bigger than buffer width param2. This error code is only available in debug builds.
QulError_GraphicsDevice_InvalidClipRectTop94Clip rectangle top param1 is less than 0. This error code is only available in debug builds.
QulError_GraphicsDevice_TextureMemoryAllocationFailed95Memory allocation failed for a texture with size of param1 KB.
QulError_GraphicsDevice_UnsupportedBitsPerPixel96Unsupported bits per pixel param1.
QulError_GraphicsDevice_UnsupportedRectSize97Unsupported rectangle size for scaling. Width is available as param1 and height as param2.
QulError_GraphicsDevice_UnsupportedTransformationMatrix98Unsupported transformation matrix for scaling.
QulError_GraphicsDevice_UnsupportedTransformationType99Unsupported transformation type for scaling. Value of the type is available as param1.
QulError_GraphicsDevice_VectorPathDataNotSet100Unused.
QulError_GraphicsDevice_UnexpectedNull101Unused.
QulError_GraphicsDevice_InvalidImageIndex102. Unused.
QulError_Image_CouldNotAlignMemory103Could not align memory for the image. The required alignment and size are available as param1 and param2.
QulError_Image_InvalidAlignment104Invalid alignment for the image.
QulError_Image_InvalidTextureIndex105Invalid texture index. Texture index is available as param1 and number of textures as param2.
QulError_Image_MemoryAllocationFailed106Memory allocation failed. Allocation size in bytes is available as param1.
QulError_Image_UnsupportedPixelFormat107Unsupported pixel format for an image. The value of the format is available as param1.
QulError_Image_PropertyNotFound108SharedImage property was not found when a value was unassigned from it.
QulError_Image_RefCountIsZero109Image reference count is zero and it is dereferenced.
QulError_Image_RefCountLimitReached110The shared image references have reached the maximum possible amount.
QulError_ImageAsset_InvalidSectionId118Invalid header or footer ID in the resource storage section. Expected param1, found param2. Check that flash memory is programmed properly.
QulError_ImageAsset_RasterBufferAllocationFailed119Memory allocation failed for the raster buffer. This error code is only available in debug builds.
QulError_ImageAsset_TextureAllocationFailed120Memory allocation failed for the texture.
QulError_ImageAsset_TexturePreloadAllocationFailed121Memory allocation failed for preloadable texture with size of param1 KB and allocation type param2. This error code is only available in debug builds.
QulError_ImageCache_MemoryAllocationFailed122Memory allocation failed. Allocation size in bytes is available as param1.
QulError_ImageCache_RuntimeAllocationTypeIndexOutOfRange123Runtime allocation type index param1 is less than zero or equal/greater than number of allocation types param2. This error code is only available in debug builds.
QulError_ImageCache_TextureDoesNotFitInCache124Texture with size of param1 KB does not fit into the cache with size param2 KB.
QulError_ImageCache_TextureLoadFailed125Failed to load texture from image cache.
QulError_ImageLayer_SourceHasToBeASingleImage132ImageLayer.source contains more than one image. ImageFiles.MCU.Experimental.resourceSplitImageOptimization has to be disabled for the image in ImageLayer.
QulError_ImageProvider_InvalidImageProvider133Invalid image provider.
QulError_Image_FileNotOpen111The file to load the resource from could not be opened. This could happen because the given file path is invalid or the filesystem not ready. This error code is only available in debug builds.
QulError_Image_FormatNotSupported112The contents of the file is in a format that is not supported.
QulError_Image_ShortRead113When trying to read data from a file there was no or not enough data available for reading. The offset and size of the read operation are available as param1 and param2.
QulError_Image_LoaderValidationFailed114When trying to read asset data from a file, the data was detected to be invalid.
QulError_Image_AllocatorInstanceCreationFailed115Failed to retrieve the allocator instance.
QulError_Image_ReferenceCountingNotEnabled116An operation performed on the SharedImage required reference counting to be enabled, but it was not. Enable the reference counting by setting a cleanup function first.
QulError_Image_DerefHookOverwritten117A dereference hook function can not be set when there already is one set. This would overwrite the existing function, leading to issues handling objects.
QulError_ImageDecoder_CouldNotAlignMemory126Could not align memory for the image. The required alignment and size are available as param1 and param2.
QulError_ImageDecoder_DecodingFailed127The image data could not be decoded. The exit status of the decoder is available as param1.
QulError_ImageDecoder_InvalidPixelformat128The image decoder is not able to provide the requested pixel format.
QulError_ImageDecoder_InvalidRead129Reading data from the image data is out of bounds.
QulError_ImageDecoder_LoaderValidationFailed130The basic checks of the image properties have failed.
QulError_ImageDecoder_MemoryAllocationFailed131Memory allocation failed. Allocation size in bytes is available as param1.
QulError_IntMath_UintLogZeroValue134Tried to calculate logarithm of zero. This error code is only available in debug builds.
QulError_ItemBase_ChildObjectAlreadyHasParentObject135Tried to append child object which already has a parent object. This error code is only available in debug builds.
QulError_ItemBase_LinkedListError136Linked list contains unexpected node. This error code is only available in debug builds.
QulError_ItemBase_InvalidAnchors137One of the anchor lines is missing. From-anchor validity is available as param1, to-anchor validity as param2 and mid-anchor validity as param3.
QulError_ItemBase_NotSiblingOrParent138Target item is neither sibling nor parent of the item.
QulError_ItemIterator_ChildObjectNotSet139Child object has not been set for the item iterator. This error code is only available in debug builds.
QulError_Keyframe_ToAndFromFramesAreSame140To-frame is same as from-frame.
QulError_Layout_InvalidValue141Invalid argument or intermediate value is used while arranging layout.
QulError_Layout_MemoryAllocationFailed142Memory allocation failed. Allocation size in bytes is available as param1.
QulError_LinkedList_InvalidHead143Linked list head is invalid.
QulError_LinkedListNode_AlreadyListMember144Node is already in a linked list. This error code is only available in debug builds.
QulError_LinkedListNode_InvalidPreviousNode145Linked list previous node is invalid. This error code is only available in debug builds.
QulError_LinkedListNode_InvalidNextNode146Linked list next node is invalid.
QulError_LodePNG_UnsupportedOutputPixelFormat150Unsupported output pixel format for LodePNG decoding. The value of the format is available as param1.
QulError_Map_MemoryAllocationFailed153Memory allocation failed. Allocation size in bytes is available as param1.
QulError_Map_NoTileFetcherProvided154Application didn't register a map tile fetcher implementation.
QulError_Map_FetchingTileFailed155Application registered map tile fetchers failed to return the requested map tile image. The coordinate Z/X/Y of the map tile image is represented as param1, param2 ,and param3.
QulError_LodePNG_InvalidHeader151Failed to load a PNG file due to invalid header data. The error description can be found in the LodePNG documentation with the error code as param1.
QulError_LodePNG_DecodeFailed152Failed to decode a PNG file. The error description can be found in the LodePNG documentation with the error code as param1.
QulError_MemoryUtility_AllocationFailed156Memory allocation of param1 bytes with alignment param2 for allocation type param3 failed.
QulError_MonotypeUnicode_UnsupportedBidirectionalCharacterType157Unsupported bidirectional character type. The value of the type is available as param1.
QulError_Node_NoTransform158The node does not have a transform.
QulError_Node_InvalidItemPointer159Returned item pointer is not equal with parent item pointer. This error code is only available in debug builds.
QulError_Optional_ValueNotSet160Tried to read optional value that has not been set. This error code is only available in debug builds.
QulError_Path_MemoryAllocationFailed161Memory allocation failed. Allocation size in bytes is available as param1 and number of elements as param2.
QulError_Path_UnexpectedPathElementType162Unexpected path element type.
QulError_Path_UnexpectedSvgPathCommandType163Unexpected SVG path command type param1. Type value has to be interpreted as 8-bit ASCII character.
QulError_ParagraphIterator_HasNoNextElement164Paragraph iterator has no next element. This error code is only available in debug builds.
QulError_ParagraphIterator_InvalidIterator165Invalid iterator. This error code is only available in debug builds.
QulError_ParagraphIterator_InvalidPosition166Invalid position. This error code is only available in debug builds.
QulError_Property_MemoryAllocationFailed167Memory allocation failed. Allocation size in bytes is available as param1. This error code is only available in debug builds.
QulError_Property_UnexpectedBinding168Property has unexpected binding. This error code is only available in debug builds.
QulError_PropertyBase_DependencyNodesNotMarkedDirty169Dependency nodes of the property are not marked as dirty. This error code is only available in debug builds.
QulError_PropertyBase_FirstDependencyAlreadySet170First dependency has been already set. This error code is only available in debug builds.
QulError_PropertyBase_NoBinding171Property does not have a binding. This error code is only available in debug builds.
QulError_PropertyBinding_AliasNotSet172Property alias has not been set.
QulError_PropertyBinding_PropertyNotSet173Property has not been set. This error code is only available in debug builds.
QulError_QulAssumeWasIncorrect174False assumption expression was given to QUL_ASSUME.
QulError_QulUnreachableWasReached175Execution reached code that was marked with QUL_UNREACHABLE.
QulError_QulRccLookup_MemoryAllocationFailed176Memory allocation failed. Allocation size in bytes is available as param1.
QulError_QulRccLookup_UnexpectedUrlLength177Unexpected URL length param1 with buffer size param2.
QulError_QulRccLookup_UnexpectedUrlPrefix178Unexpected URL prefix. Number of available characters is available as param1 and maximum length as param2.
QulError_Qul_MemoryAllocationFailed179Memory allocation failed. Allocation size in bytes is available as param1.
QulError_Qul_ResourceInitializationFailed180Resource initialization failed, with error code param1 corresponding to Qul::ResourceInitializationError enum.
QulError_QtSafeRenderer_Exception181An exception occurred in Qt Safe Renderer. The value of the exception type is available as param1. The exception type value has to be interpreted as Qt Safe Renderer ExceptionType.
QulError_QtSafeRenderer_MemoryAllocationFailed182Memory allocation failed for Qt Safe Renderer.
QulError_QtSafeRenderer_MissingFallbackDrawingEngine183This DrawingEngine does not support SafeRendering and there is no fallback drawing engine initialized for handling the rendering.
QulError_QtSafeRenderer_UnsupportedRenderHint184This DrawingEngine does not support SafeRendering.
QulError_Rasterizer_LineWidthIsZero185Width of the rasterized line is zero. This error code is only available in debug builds.
QulError_Rasterizer_SpanXGreaterThanClipRectRight186Span X param1 + length param2 - 1 is greater than clip rectangle right param3.
QulError_Rasterizer_SpanXLessThanClipRectLeft187Span X param1 is less than clip rectangle left param2.
QulError_Rasterizer_SpanYGreaterThanClipRectBottom188Span Y param1 is greater than clip rectangle bottom param2.
QulError_Rasterizer_SpanYLessThanClipRectTop189Span Y param1 is less than clip rectangle top param2.
QulError_Region_InvalidBottom190Bottom of the region is invalid.
QulError_Region_InvalidRow191Row of the region is invalid. This error code is only available in debug builds.
QulError_Region_InvalidTop192Top of the region is invalid.
QulError_Region_NodeIsRowHead193Node is the row head.
QulError_Region_NodeIsRowTail194Node is the row tail.
QulError_Region_UnexpectedNextNode195Unexpected next node in the list. This error code is only available in debug builds.
QulError_Region_UnexpectedPrevNode196Unexpected previous node in the list. This error code is only available in debug builds.
QulError_Region_RowTailNotSet197Row tail has not been set. This error code is only available in debug builds.
QulError_RenderTree_NodeIsOpaque198Rendering region of the node is opaque. This error code is only available in debug builds.
QulError_RenderTree_NodeSplitFailed199Render node split failed. This error code is only available in debug builds.
QulError_RenderTree_UnexpectedNodeType200Unexpected type for the parent node. The value of the type is available as param1. This error code is only available in debug builds.
QulError_RenderTree_UnexpectedNullRasterBuffer201Unexpected null pointer. This error code is only available in debug builds.
QulError_RenderTree_UnexpectedTextNodeSubType202Unexpected TextNode sub type. The flags of the TextNode is available as param1.
QulError_Rle_InsufficientBufferSize203The image does not fit to RLE buffers.
QulError_Rle_InvalidBufferCount204Invalid buffer count param1.
QulError_Rle_InvalidPitch205Invalid pitch. The value of bytes per line is available as param1 and bytes per pixel as param2.
QulError_Rle_UnsupportedPixelFormat206Unsupported pixel format. The value of the format is available as param1.
QulError_Rle_UnsupportedRleFormat207Unsupported RLE format. The value of the format is available as param1.
QulError_Shape_DrawingEngineNotSet208Drawing engine has not been set.
QulError_Shape_ShapeNotSet209Shape has not been set.
QulError_Shape_UnsupportedLineCapStyle210Unsupported line cap style param1.
QulError_Shape_UnsupportedLineJoinStyle211Unsupported line join style param1.
QulError_Size_DivisionByZero212Tried to divide size by zero.
QulError_SparkTextShaper_BidirectionalInfoNotSet213Info about text bidirectionality has not been set.
QulError_SparkTextShaper_NotInitialized214The text shaping engine has not been initialized.
QulError_SparkTextShaper_InvalidGlyphPosition215Glyph info position param1 is less than zero or greater than text info length param2. This error code is only available in debug builds.
QulError_SparkTextShaper_InvalidParagraphSize216Paragraph size param1 is greater than text size param2.
QulError_SparkTextShaper_InvalidStartPosition217Start position param1 is greater than text length param2.
QulError_SparkTextShaper_ShaperInstanceAlreadyExists218Instance for the shaper has been already created.
QulError_SparkTextShaper_TextBaseLevelNotSet219Text base level has not been set.
QulError_SparkTextShaper_UnexpectedShapingResult220Unexpected value returned from the shaping engine.
QulError_SparkTextShaper_InvalidState221The shaper is not in valid state. This error code is only available in debug builds.
QulError_Models_MemoryAllocationFailed222Model memory allocation failed.
QulError_CharBuffer_OutOfMemoryBins223No memory bins available for char buffer. This error code is only available in debug builds.
QulError_CharBuffer_InvalidState224The buffer is not in valid state. This error code is only available in debug builds.
QulError_CharBuffer_IndexOutOfRange225Index is not at valid position in the current paragraph. This error code is only available in debug builds.
QulError_CharBuffer_InvalidParagraphForContext226Paragraph with content that is not intended for this context. This error code is only available in debug builds.
QulError_StaticTextItem_OffsetNotSet227Offset has not been set. This error code is only available in debug builds.
QulError_StaticTextItem_InvalidIndex228Invalid index. This error code is only available in debug builds.
QulError_SwipeView_ContentItemIsNotFlickable229Content item for the swipe view is not flickable.
QulError_TextBoundaryFinder_UnsupportedBoundaryType230Unsupported boundary type param1.
QulError_TextCache_AllocatorInstanceCreationFailed231Failed to create fixed block allocator instance of size param1.
QulError_TextCache_BitsPerPixelMismatch232Bits per pixel param2 for alpha map does not match with bits per pixel param1 of the rendering target.
QulError_TextCache_IncorrectOffsetAlignment233Bit offset does not match between source and destination. This error code is only available in debug builds.
QulError_TextCache_PreAllocationFailed234Failed to preallocate a buffer for text cache.
QulError_TextCache_UnexpectedAlphaMap235Unexpected alpha map in a vector based text element.
QulError_TextCache_UnexpectedPathSegmentType236Unexpected vector path segment type in a vector based text element.
QulError_TextCache_UnsupportedAlphaMapFormat237Unsupported bit per pixel param1 for text alpha map rendering.
QulError_TextCache_InvalidMemoryAlignment238Invalid memory alignment. This error code is only available in debug builds.
QulError_TextElideHandler_FontEngineNotSet239The font engine has not been set. This error code is only available in debug builds.
QulError_TextElideHandler_InvalidElideMode240Invalid text elide mode. The value of the mode is available as param1.
QulError_TextElideHandler_InvalidItemWidth241Invalid item width.
QulError_TextElideHandler_InvalidState242Invalid internal state.
QulError_ParagraphInfo_TextIsNotAtStartPosition243Text iterator is not at the start of the paragraph.
QulError_TextEngine_PositionsAlreadySet244Paragraph info positions has been already set. This error code is only available in debug builds.
QulError_TextEngine_InvalidGlyphInfoIndex245Invalid glyph info index. The value of the index is available as param1 and glyph count as param2. This error code is only available in debug builds.
QulError_TextEngine_UnicodeEngineNotSet246The Unicode Engine pointer is expected to contain value. This error code is only available in debug builds.
QulError_TextEngine_InvalidCallContext247The function was called for invalid context. This error code is only available in debug builds.
QulError_TextLayout_InvalidIndexingType248Invalid indexing type. The value of the type is available as param1. This error code is only available in debug builds.
QulError_TextLayout_InvalidLineOffset249Invalid line offset. The value of the offset is available as param1.
QulError_TextLayout_UnexpectedNullParagraph250Unexpected null paragraph. This error code is only available in debug builds.
QulError_TextLayout_InvalidImageRegistrationState251Invalid state when registering inline images. This error code is only available in debug builds.
QulError_TextLayout_InvalidImageIndex252. This error code is only available in debug builds. Invalid image index. This error code is only available in debug builds.
QulError_TextLayout_UnexpectedNull253Unexpected null pointer. This error code is only available in debug builds.
QulError_TextLayout_VectorPathDataNotSet254Path data for the vector has not been set.
QulError_TextLayout_CacheEntryNotFound255Internal error. Cache entry not found.
QulError_TextMetrics_InvalidBottomRightX256Invalid bottom right X. The value of the X is available as param1. This error code is only available in debug builds.
QulError_TextMetrics_InvalidBottomRightY257Invalid bottom right Y. The value of the Y is available as param1. This error code is only available in debug builds.
QulError_TextShaper_GlyphIteratorNotIncremental258Glyph iterator is not incremental. This error code is only available in debug builds.
QulError_TextShaper_MasterIteratorAlreadySet259Master iterator has been already set.
QulError_TextShaper_MasterIteratorNotSet260Master iterator has not been set.
QulError_TextLine_NotLineStart261The iterator is not at line start. This error code is only available in debug builds.
QulError_TextLine_LineAlreadyProcessed262The text line is already processed.
QulError_TextLine_NotValid263The text line is not valid.
QulError_Timer_AlreadyRunning264Added timer is already running. This error code is only available in debug builds.
QulError_Timer_DuplicateElement265Timer is already in the list. This error code is only available in debug builds.
QulError_Timer_MemoryAllocationFailed266Timer memory allocation failed.
QulError_Timer_NextActiveTimerAlreadySet267Next active timer has been already set.
QulError_TimerItem_NextActiveTimerAlreadySet268Next active timer has been already set. This error code is only available in debug builds.
QulError_Transforms_TargetItemNotSet269Target item has not been set for the transformation.
QulError_UnicodeString_ColorNameDoesNotContainAString270Color name does not contain a string.
QulError_UnicodeString_InvalidCharacter271Character is not valid UTF-8.
QulError_UnicodeString_InvalidPosition272Position param1 is less than zero or greater than string length param2. This error code is only available in debug builds.
QulError_UnicodeString_InvalidStringFormat273Unicode string format is invalid. The value of the format is available as param1.
QulError_UnicodeString_InvalidFormattedNumberString274Number string is in invalid format. This error code is only available in debug builds.
QulError_UnicodeString_MemoryAllocationFailed275Memory allocation failed. Allocation size in bytes is available as param1.
QulError_UnicodeString_UnsupportedStringFormat276Unsupported string format.
QulError_UnicodeString_StringHasNoNextElement277Next character requested at the end of the string. This error code is only available in debug builds.
QulError_UnicodeString_InvalidIterator278Invalid iterator. This error code is only available in debug builds.
QulError_UnicodeString_StringViewHasNoNextElement279String view has no next element. This error code is only available in debug builds.
QulError_VkbPinyin_InvalidDictionaryData280Invalid Pinyin dictionary data.
QulError_VkbPinyin_MemoryAllocationFailed281Memory allocation failed. Allocation size in bytes is available as param1.
QulError_Loader_In_Delegate283Using Loader inside delegate currently is not supported. This error code is only available in debug builds.
QulError_Loader_Item_AllocatorNotSet284The item allocator is not set.
QulError_FileCache_InvalidResourceCache285The requested resource cache index is not valid. The invalid cache index is available as param1. This error code is only available in debug builds.
QulError_FileCache_CallbackAlreadySet286The callback for removed textures in the resource cache is already set. This error code is only available in debug builds.
QulError_FileCache_MemoryAllocationFailed287Memory allocation failed.
QulError_MonoType_Generic282Generic MonoType error. This error code is only available in debug builds.
QulError_Core_End288Range end for Qt Quick Ultralite Core error codes.
QulError_Platform100000Range start for Qt Quick Ultralite Platform error codes.
QulError_Adc_SdkError100001Error returned from the SDK's ADC driver. The value of the return code is available as param1. The return code value has to be interpreted as SDK defined error type.
QulError_Bezier_EmptyCurve100002No segments in a curve.
QulError_Bezier_InvalidArgument100003An invalid argument was used.
QulError_Bezier_TooManySegments100004Too many segments in a curve. Number of the segments is available as param1.
QulError_Brush_UnsupportedPattern100005The operation does not support pattern param1.
QulError_BufferData_AlreadyAllocated100006Tried to allocate already allocated buffer.
QulError_BufferData_InvalidDeallocation100007Tried to deallocate unallocated buffer.
QulError_BufferData_MemoryAllocationFailed100008Memory allocation failed. Allocation size in bytes is available as param1.
QulError_CircularBuffer_MemoryAllocationFailed100009Memory allocation failed. Allocation size in bytes is available as param1.
QulError_CircularBuffer_PopEmpty100010Tried to remove entry from empty buffer. This error code is only available in debug builds.
QulError_Cygfxbackend_MemoryAllocationFailed100011Memory allocation failed. Allocation size in bytes is available as param1.
QulError_Dave2d_SdkError100012Error returned from the SDK's D/AVE 2D driver. The value of the return code is available as param1. The return code value has to be interpreted as SDK defined error type.
QulError_DeviceLink_ShouldNotBeCalled100013A function of the device link component is called when it is disabled. All calls to the device link should check if the pointer returned from DeviceLink::instance() is not NULL.
QulError_DeviceLink_NotImplemented100014The device link interface has not been implemented for this platform.
QulError_DeviceLink_T2gBufferAllocationFailed100015Allocation of buffer for device link framebuffer transfer failed. The amount of bytes that the platform tried to allocate is available as param1. Consider reducing the QUL_PLATFORM_TVII_DEVICELINK_BUFFER_SIZE size set in platform_config.h.
QulError_DeviceLink_T2gBufferTooSmall100016The configured buffer size for device link framebuffer transfer is too small to fit an entire vertical or horizontal scanline. The configured buffer size is available as param1. The minimum size that was required is available as param2. It's necessary to increase the QUL_PLATFORM_TVII_DEVICELINK_BUFFER_SIZE size set in platform_config.h.
QulError_Display_InitializationFailed100017Display could not be initialized.
QulError_DisplayDriver_SdkError100018Error returned from the SDK's display driver. The value of the return code is available as param1. The return code value has to be interpreted as SDK defined error type.
QulError_Dma2d_SdkError100019Error returned from the SDK's DMA2D driver. The value of the return code is available as param1. The return code value has to be interpreted as SDK defined error type.
QulError_DrawingDevice_InvalidCoordinate100020Given coordinate does not match the device. The value of X is available as param1 and Y as param2.
QulError_DrawingDevice_InvalidPitch100021Invalid pitch. The value of bytes per line is available as param1.
QulError_DrawingDevice_InvalidSize100022Invalid size. The value of width is available as param1 and height as param2.
QulError_DrawingEngine_InvalidBuffer100023An invalid buffer used for drawing. This error code is only available in debug builds.
QulError_DrawingEngine_InvalidScreen100024Requested screen does not exist.
QulError_DrawingEngine_MissingFallback100025Missing implementation for fallback drawing engine.
QulError_DrawingEngine_SurfaceAllocationFailed100026Failed to allocate off screen surface. The width of the surface is available as param1 and the height as param2. The CYGFX_ERROR code is available as param3. This error is likely a result of running out of VRAM. Refer to Optimizing VRAM usage on Infineon TRAVEO T2G boards for ways to reduce VRAM usage.
QulError_DrawingEngine_UnsupportedBlendMode100027Unsupported blend mode. The value of the blend mode is available as param1.
QulError_DrawingEngine_UnsupportedPixelFormat100028Unsupported pixel format. The value of the format is available as param1.
QulError_DrawingEngine_UnsupportedFeature_LinearGradientPattern100029The platform drawing engine doesn't support brushes with the pattern LinearGradientPattern.
QulError_FixedSizeBlockHeap_FreeIndexOutOfRange100030Freed memory does not belong to the FixedSizeBlockHeap. This error code is only available in debug builds.
QulError_FixedSizeBlockHeap_SizeIndexOutOfRange100031The provided address does not belong to FixedSizeBlockHeap.
QulError_GenericMatrix_IndexOutOfRange100034Row or column outside matrix bounds.
QulError_GraphicsDriver_UnsupportedAlignment100035Unsupported image alignment. Alignment must be param1 bytes. Alignment is configured with ImageFiles.MCU.Experimental.resourceAlignment .
QulError_GraphicsDriver_UnsupportedColorDepth100036Unsupported color depth. The value of the color depth is available as param1.
QulError_GraphicsDriver_UnsupportedFramebufferAlignment100037Unsupported framebuffer alignment. Alignment must be param1 bytes. This error code is only available in debug builds.
QulError_GraphicsDriver_UnsupportedPixelFormat100038Unsupported pixel format. The value of the format is available as param1.
QulError_LayerEngine_EmptyColorTable100039The color table of an indexed color is empty.
QulError_LayerEngine_InvalidLayerIndex100040Invalid layer index. The value of the index is available as param1.
QulError_LayerEngine_InvalidRenderingHints100041Invalid platform default rendering hints. The value of the rendering hints is available as param1. This error code is only available in debug builds.
QulError_LayerEngine_MemoryAllocationFailed100042Layer engine memory allocation failed.
QulError_LayerEngine_MissingSpriteLayer100043Sprite layer has not been set.
QulError_LayerEngine_MixedColorDepthNotSupportedInSpriteLayer100044All image layers and item layers inside a SpriteLayer must have the same color depth. The value of the sprite format is available as param1 and layer format as param2.
QulError_LayerEngine_RuntimeColorDepthChangeNotSupported100045Platform doesn't support runtime layer color depth changes.
QulError_LayerEngine_SpriteNotWithinSpriteLayer100046Sprite coordinates are not within sprite layer. The value of the X is available as param1 and Y as param2.
QulError_LayerEngine_UnsupportedAlignment100047Unsupported image alignment. Alignment must be param1 bytes. Alignment is configured with ImageFiles.MCU.Experimental.resourceAlignment .
QulError_LayerEngine_UnsupportedColorDepth100048Unsupported color depth. The value of the color depth is available as param1.
QulError_LayerEngine_UnsupportedPerScanlinePadding100049Unsupported per-scanline padding.
QulError_LayerEngine_UnsupportedPitch100050Unsupported image pitch. Width alignment must be param bytes. Alignment is configured with ImageFiles.MCU.Experimental.resourceAlignment.
QulError_LayerEngine_UnsupportedPixelFormat100051Unsupported pixel format. The value of the format is available as param1.
QulError_VirtualKeyboard_LayoutsNotFound100052No layouts found. At least one valid locale directory (can be empty) is expected in addition to the fallback directory.
QulError_VirtualKeyboard_AlternativeKeysValueHasNoNextElement100053Internal error. This error code is only available in debug builds.
QulError_Lcdifv2Layer_DisplayControllerInitializationFailed100054Lcdifv2 engine failed to initialize display controller.
QulError_Lcdifv2Layer_LayerAllocationFailed100055Lcdifv2 layer memory allocation failed.
QulError_Lcdifv2Layer_LayerCountExceeded100056Lcdifv2 layers count exceeded.
QulError_Lcdifv2Layer_LayerNotSet100057Lcdifv2 layer has not been set.
QulError_Lcdifv2Layer_UnsupportedPixelFormat100058Unsupported pixel format for Lcdifv2. The value of the format is available as param1.
QulError_Linux_InvalidDrmState100059The DRM state was invalid.
QulError_LruCache_SizeExceeded100060The cache size was exceeded.
QulError_MemoryAllocator_InvalidArgument100061An invalid argument was used.
QulError_MessageQueue_MessageTooLong100062The message size of the requested queue is larger than what the system's queue is able to hold.
QulError_MessageQueue_RequestFailed100063The system failed to provide a new queue.
QulError_PathData_InvalidSize100064Ill formed path data. The value of the size is available as param1.
QulError_PathData_SegmentOutOfRange100065Tried to access segment at index param1 of a path that has param2 segments.
QulError_PathData_SizeOverflow100066Integer overflow in path size. The value of the size is available as param1.
QulError_PathData_UnknownSegmentType100067The path contains an unknown segment of type param1.
QulError_PathDataIterator_NextSegmentDoesNotExist100068Failed to access next segment in the path.
QulError_PathDataIterator_UnexpectedSegmentType100069Unexpected segment type for the operation. The value of the type is available as param1.
QulError_PathDataSegment_SegmentIndexOutOfRange100070The segment index is invalid. The value of the index is available as param1 and segment count as param2.
QulError_PathDataSegment_UnexpectedControlElementCount100071Unexpected control element count. Element index is available as param1, total element count as param2 and the type of the path as param3.
QulError_PathDataStroker_InvalidArc100072Unable to stroke the arc from given data.
QulError_PathDataStroker_MemoryAllocationFailed100073Path data memory allocation failed.
QulError_PathDataStroker_UnknownCapStyle100074Unknown cap style. The value of the style is available as param1.
QulError_PathDataStroker_UnknownJoinStyle100075Unknown join style. The value of the style is available as param1.
QulError_PerformanceLogging_InvalidStackRange100076Invalid stack range. The current, first and last stack pointers are available as param1, param2 and param3.
QulError_Platform_ExecImplementationMissing100077The implementation for Qul::Platform::PlatformContext::exec is missing.
QulError_Platform_MemoryAllocationFailed100078Platform memory allocation failed.
QulError_PreloadAllocator_UnsupportedOperation100079Unsupported operation on the PreloadAllocator.
QulError_Qspi_SdkError100080Error returned from the SDK's QSPI driver. The value of the return code is available as param1. The return code value has to be interpreted as SDK defined error type.
QulError_Ram_InitializationFailed100081Initialization of the RAM failed.
QulError_ResourceStorageSection_LoadFailed100082Loading of the resource storage section failed.
QulError_Rh850_CdiError100083Renesas RH850 CDI error. The value of the return code is available as param1. The return code value has to be interpreted as uint32_t.
QulError_Rh850_Drw2dError100084Renesas RH850 DRW2D error. The value of the return code is available as param1. The return code value has to be interpreted as r_drw2d_Error_t.
QulError_Rh850_WmError100085Renesas RH850 WM error. The value of the return code is available as param1. The return code value has to be interpreted as r_wm_Error_t. This error code is only available in debug builds.
QulError_Rng_SdkError100086Error returned from the SDK's Random Number Generator driver. The value of the return code is available as param1. The return code value has to be interpreted as SDK defined error type.
QulError_Screen_UnsupportedDisplayColorFormat100087Unsupported display color format. The value of the format is available as param1.
QulError_Texture_InvalidCoordinate100088Pixel coordinate out of bounds. The value of X is available as param1 and Y as param2. This error code is only available in debug builds.
QulError_Texture_UnsupportedPixelFormat100089Unsupported pixel format. The value of the format is available as param1. This error code is only available in debug builds.
QulError_Timer_SdkError100090Error returned from the SDK's timer driver. The value of the return code is available as param1. The return code value has to be interpreted as SDK defined error type.
QulError_TouchDriver_InitializationFailed100091Initialization of the touch driver failed.
QulError_Vglite_InitializationFailed100092VGLite could not be initialized.
QulError_Vglite_DrawingBufferNotSet100093Drawing buffer for VGLite has not been set.
QulError_Vglite_MemoryAllocationFailed100094VGLite memory allocation failed.
QulError_Vglite_SdkError100095Error returned from the SDK's VGLite driver. The value of the return code is available as param1. The return code value has to be interpreted as SDK defined error type.
QulError_WindowInterface_MemoryAllocationFailed100096Window interface memory allocation failed.
QulError_ExternalFlash_InitializationFailed100097External flash memory initialization failed.
QulError_Platform_End100098Range end for Qt Quick Ultralite Platform error codes.
QulError_Custom200000Range start for custom error codes.
QulError_QmlList_NullList148No storage list(Qul::StaticList | Qul::DynamicList) is set for the ListProperty.
QulError_QmlList_UnsupportedOperation149Unsupported operation by the qmllist in use that can be: Static, Dynamic, Value, Object.
QulError_LinkedListNode_InvalidIndex147The Index is not in a valid LinkedList range

Function Documentation

[since Qt Quick Ultralite 2.2] const char *errorCodeToString(QulError code)

Returns a pointer to C-string representation of the error code.

On debug build, the function returns a string representation for error range start values and error codes in the Core and Platform range. On release build, it returns a string representation for error range start values and empty string for the rest of error code values.

Note: Returns an empty string for error codes in the Custom range.

This function was introduced in Qt Quick Ultralite 2.2.

See also Qul::PlatformInterface::error and Error handling.

Available under certain Qt licenses.
Find out more.