Skip to content
Qt 6.12 LTS is out! See what's new in the release blog
  • 145k Topics
    725k Posts
    PerdrixP
    @SGaist I experimented a bit and suspect you want the -l output: DeepSkyStacker.app/Contents/MacOS/DeepSkyStacker: Load command 0 cmd LC_SEGMENT_64 cmdsize 72 segname __PAGEZERO vmaddr 0x0000000000000000 vmsize 0x0000000100000000 fileoff 0 filesize 0 maxprot 0x00000000 initprot 0x00000000 nsects 0 flags 0x0 Load command 1 cmd LC_SEGMENT_64 cmdsize 872 segname __TEXT vmaddr 0x0000000100000000 vmsize 0x0000000002b80000 fileoff 0 filesize 45613056 maxprot 0x00000005 initprot 0x00000005 nsects 10 flags 0x0 Section sectname __text segname __TEXT addr 0x0000000100007688 size 0x000000000215e0d4 offset 30344 align 2^2 (4) reloff 0 nreloc 0 flags 0x80000400 reserved1 0 reserved2 0 Section sectname __stubs segname __TEXT addr 0x000000010216575c size 0x0000000000021690 offset 35018588 align 2^2 (4) reloff 0 nreloc 0 flags 0x80000408 reserved1 0 (index into indirect symbol table) reserved2 12 (size of stubs) Section sectname __init_offsets segname __TEXT addr 0x0000000102186dec size 0x000000000000069c offset 35155436 align 2^2 (4) reloff 0 nreloc 0 flags 0x00000016 reserved1 0 reserved2 0 Section sectname __gcc_except_tab segname __TEXT addr 0x0000000102187488 size 0x00000000000d80b0 offset 35157128 align 2^2 (4) reloff 0 nreloc 0 flags 0x00000000 reserved1 0 reserved2 0 Section sectname __asan_cstring segname __TEXT addr 0x000000010225f540 size 0x00000000000dce40 offset 36042048 align 2^5 (32) reloff 0 nreloc 0 flags 0x00000000 reserved1 0 reserved2 0 Section sectname __const segname __TEXT addr 0x000000010233c380 size 0x00000000004e7330 offset 36946816 align 2^5 (32) reloff 0 nreloc 0 flags 0x00000000 reserved1 0 reserved2 0 Section sectname __cstring segname __TEXT addr 0x00000001028236b0 size 0x000000000013c65d offset 42088112 align 2^0 (1) reloff 0 nreloc 0 flags 0x00000002 reserved1 0 reserved2 0 Section sectname __ustring segname __TEXT addr 0x000000010295fd0e size 0x0000000000000008 offset 43384078 align 2^1 (2) reloff 0 nreloc 0 flags 0x00000000 reserved1 0 reserved2 0 Section sectname __unwind_info segname __TEXT addr 0x000000010295fd18 size 0x0000000000067188 offset 43384088 align 2^2 (4) reloff 0 nreloc 0 flags 0x00000000 reserved1 0 reserved2 0 Section sectname __eh_frame segname __TEXT addr 0x00000001029c6ea0 size 0x00000000001b6d58 offset 43806368 align 2^3 (8) reloff 0 nreloc 0 flags 0x6800000b reserved1 0 reserved2 0 Load command 2 cmd LC_SEGMENT_64 cmdsize 312 segname __DATA_CONST vmaddr 0x0000000102b80000 vmsize 0x00000000000a8000 fileoff 45613056 filesize 688128 maxprot 0x00000003 initprot 0x00000003 nsects 3 flags 0x10 Section sectname __mod_term_func segname __DATA_CONST addr 0x0000000102b80000 size 0x00000000000004f0 offset 45613056 align 2^3 (8) reloff 0 nreloc 0 flags 0x0000000a reserved1 0 reserved2 0 Section sectname __const segname __DATA_CONST addr 0x0000000102b80500 size 0x000000000008faf0 offset 45614336 align 2^5 (32) reloff 0 nreloc 0 flags 0x00000000 reserved1 0 reserved2 0 Section sectname __got segname __DATA_CONST addr 0x0000000102c0fff0 size 0x0000000000017ea8 offset 46202864 align 2^3 (8) reloff 0 nreloc 0 flags 0x00000006 reserved1 11404 (index into indirect symbol table) reserved2 0 Load command 3 cmd LC_SEGMENT_64 cmdsize 792 segname __DATA vmaddr 0x0000000102c28000 vmsize 0x0000000000954000 fileoff 46301184 filesize 8192000 maxprot 0x00000003 initprot 0x00000003 nsects 9 flags 0x0 Section sectname .qtversion segname __DATA addr 0x0000000102c28000 size 0x0000000000000010 offset 46301184 align 2^3 (8) reloff 0 nreloc 0 flags 0x00000000 reserved1 0 reserved2 0 Section sectname __data segname __DATA addr 0x0000000102c28020 size 0x000000000070cc58 offset 46301216 align 2^5 (32) reloff 0 nreloc 0 flags 0x00000000 reserved1 0 reserved2 0 Section sectname __asan_globals segname __DATA addr 0x0000000103334c80 size 0x000000000009a240 offset 53693568 align 2^4 (16) reloff 0 nreloc 0 flags 0x00000000 reserved1 0 reserved2 0 Section sectname __asan_liveness segname __DATA addr 0x00000001033ceec0 size 0x0000000000026890 offset 54324928 align 2^3 (8) reloff 0 nreloc 0 flags 0x00000000 reserved1 0 reserved2 0 Section sectname __thread_vars segname __DATA addr 0x00000001033f5750 size 0x00000000000001c8 offset 54482768 align 2^3 (8) reloff 0 nreloc 0 flags 0x00000013 reserved1 0 reserved2 0 Section sectname __thread_data segname __DATA addr 0x00000001033f5918 size 0x000000000000000c offset 54483224 align 2^3 (8) reloff 0 nreloc 0 flags 0x00000011 reserved1 0 reserved2 0 Section sectname __thread_bss segname __DATA addr 0x00000001033f5928 size 0x00000000000006d0 offset 0 align 2^3 (8) reloff 0 nreloc 0 flags 0x00000012 reserved1 0 reserved2 0 Section sectname __common segname __DATA addr 0x00000001033f8000 size 0x000000000001f520 offset 0 align 2^14 (16384) reloff 0 nreloc 0 flags 0x00000001 reserved1 0 reserved2 0 Section sectname __bss segname __DATA addr 0x0000000103417520 size 0x0000000000162bc8 offset 0 align 2^5 (32) reloff 0 nreloc 0 flags 0x00000001 reserved1 0 reserved2 0 Load command 4 cmd LC_SEGMENT_64 cmdsize 72 segname __LINKEDIT vmaddr 0x000000010357c000 vmsize 0x00000000011b4000 fileoff 54493184 filesize 18551088 maxprot 0x00000001 initprot 0x00000001 nsects 0 flags 0x0 Load command 5 cmd LC_DYLD_CHAINED_FIXUPS cmdsize 16 dataoff 54493184 datasize 1188864 Load command 6 cmd LC_DYLD_EXPORTS_TRIE cmdsize 16 dataoff 55682048 datasize 895280 Load command 7 cmd LC_SYMTAB cmdsize 24 symoff 56686072 nsyms 453549 stroff 64037456 strsize 8440448 Load command 8 cmd LC_DYSYMTAB cmdsize 80 ilocalsym 0 nlocalsym 430920 iextdefsym 430920 nextdefsym 20402 iundefsym 451322 nundefsym 2227 tocoff 0 ntoc 0 modtaboff 0 nmodtab 0 extrefsymoff 0 nextrefsyms 0 indirectsymoff 63942856 nindirectsyms 23649 extreloff 0 nextrel 0 locreloff 0 nlocrel 0 Load command 9 cmd LC_LOAD_DYLINKER cmdsize 32 name /usr/lib/dyld (offset 12) Load command 10 cmd LC_UUID cmdsize 24 uuid 81B89824-45E1-3D6E-A73D-C823626314B5 Load command 11 cmd LC_BUILD_VERSION cmdsize 32 platform 1 minos 13.4 sdk 27.2 ntools 1 tool 3 version 27106.1 Load command 12 cmd LC_SOURCE_VERSION cmdsize 16 version 0.0 Load command 13 cmd LC_MAIN cmdsize 24 entryoff 6008484 stacksize 0 Load command 14 cmd LC_LOAD_DYLIB cmdsize 56 name /usr/lib/libcurl.4.dylib (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 9.0.0 compatibility version 7.0.0 Load command 15 cmd LC_LOAD_DYLIB cmdsize 72 name @rpath/QtNetwork.framework/Versions/A/QtNetwork (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 6.12.1 compatibility version 6.0.0 Load command 16 cmd LC_LOAD_DYLIB cmdsize 56 name /usr/lib/libiconv.2.dylib (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 7.0.0 compatibility version 7.0.0 Load command 17 cmd LC_LOAD_DYLIB cmdsize 56 name /usr/lib/libcharset.1.dylib (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 1.0.0 compatibility version 1.0.0 Load command 18 cmd LC_LOAD_DYLIB cmdsize 56 name /usr/lib/libSystem.B.dylib (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 1359.40.3 compatibility version 1.0.0 Load command 19 cmd LC_LOAD_DYLIB cmdsize 88 name @rpath/QtOpenGLWidgets.framework/Versions/A/QtOpenGLWidgets (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 6.12.1 compatibility version 6.0.0 Load command 20 cmd LC_LOAD_DYLIB cmdsize 72 name @rpath/QtOpenGL.framework/Versions/A/QtOpenGL (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 6.12.1 compatibility version 6.0.0 Load command 21 cmd LC_LOAD_DYLIB cmdsize 80 name @rpath/QtConcurrent.framework/Versions/A/QtConcurrent (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 6.12.1 compatibility version 6.0.0 Load command 22 cmd LC_LOAD_DYLIB cmdsize 64 name @rpath/QtSvg.framework/Versions/A/QtSvg (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 6.12.1 compatibility version 6.0.0 Load command 23 cmd LC_LOAD_DYLIB cmdsize 88 name @rpath/QtPrintSupport.framework/Versions/A/QtPrintSupport (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 6.12.1 compatibility version 6.0.0 Load command 24 cmd LC_LOAD_DYLIB cmdsize 72 name @rpath/QtWidgets.framework/Versions/A/QtWidgets (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 6.12.1 compatibility version 6.0.0 Load command 25 cmd LC_LOAD_DYLIB cmdsize 64 name @rpath/QtGui.framework/Versions/A/QtGui (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 6.12.1 compatibility version 6.0.0 Load command 26 cmd LC_LOAD_DYLIB cmdsize 88 name /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 2775.20.133 compatibility version 45.0.0 Load command 27 cmd LC_LOAD_DYLIB cmdsize 88 name /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 1.0.0 compatibility version 1.0.0 Load command 28 cmd LC_LOAD_DYLIB cmdsize 88 name /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 1.0.0 compatibility version 1.0.0 Load command 29 cmd LC_LOAD_DYLIB cmdsize 88 name /System/Library/Frameworks/Metal.framework/Versions/A/Metal (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 383.1.0 compatibility version 1.0.0 Load command 30 cmd LC_LOAD_DYLIB cmdsize 72 name @rpath/QtCore.framework/Versions/A/QtCore (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 6.12.1 compatibility version 6.0.0 Load command 31 cmd LC_LOAD_DYLIB cmdsize 88 name /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 275.0.0 compatibility version 1.0.0 Load command 32 cmd LC_LOAD_DYLIB cmdsize 104 name /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 1.0.0 compatibility version 1.0.0 Load command 33 cmd LC_LOAD_DYLIB cmdsize 120 name /System/Library/Frameworks/UniformTypeIdentifiers.framework/Versions/A/UniformTypeIdentifiers (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 709.0.0 compatibility version 1.0.0 Load command 34 cmd LC_LOAD_DYLIB cmdsize 112 name /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 66.0.0 compatibility version 1.0.0 Load command 35 cmd LC_LOAD_DYLIB cmdsize 56 name /usr/lib/libcups.2.dylib (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 2.14.0 compatibility version 2.0.0 Load command 36 cmd LC_LOAD_DYLIB cmdsize 56 name /usr/local/lib/libomp.dylib (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 5.0.0 compatibility version 5.0.0 Load command 37 cmd LC_LOAD_DYLIB cmdsize 48 name /usr/lib/libc++.1.dylib (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 2200.32.0 compatibility version 1.0.0 Load command 38 cmd LC_LOAD_DYLIB cmdsize 72 name @rpath/libclang_rt.asan_osx_dynamic.dylib (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 0.0.0 compatibility version 0.0.0 Load command 39 cmd LC_RPATH cmdsize 48 path @executable_path/../Frameworks (offset 12) Load command 40 cmd LC_RPATH cmdsize 32 path /usr/local/lib (offset 12) Load command 41 cmd LC_RPATH cmdsize 40 path /opt/Qt/6.12.1/macos/lib (offset 12) Load command 42 cmd LC_RPATH cmdsize 32 path @executable_path (offset 12) Load command 43 cmd LC_RPATH cmdsize 120 path /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/lib/darwin (offset 12) Load command 44 cmd LC_FUNCTION_STARTS cmdsize 16 dataoff 56577328 datasize 108744 Load command 45 cmd LC_DATA_IN_CODE cmdsize 16 dataoff 56686072 datasize 0 Load command 46 cmd LC_CODE_SIGNATURE cmdsize 16 dataoff 72477904 datasize 566368 Is that what you wanted? Now I do have this in my CMake file: if(APPLE) set_target_properties(DeepSkyStacker PROPERTIES MACOSX_BUNDLE ON MACOSX_BUNDLE_BUNDLE_NAME "DeepSkyStacker" MACOSX_BUNDLE_ICON_FILE "DeepSkyStacker.icns" MACOSX_BUNDLE_GUI_IDENTIFIER "com.github.deepskystacker.deepskystacker" MACOSX_BUNDLE_COPYRIGHT "Copyright © 2018-2026, David C. Partridge; Copyright © 2006-2019, Luc Coiffier" MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/MacOSXBundleInfo.plist.in" INSTALL_RPATH "@executable_path/../Frameworks" ) endif() Should that INSTALL_RPATH only be specified for Release builds and omitted for Debug builds? Or is that correct? Thanks, David
  • Jobs, project showcases, announcements - anything that isn't directly development
    4k 23k
    4k Topics
    23k Posts
    SGaistS
    Hi, What about ENOPROTOOPT rather than 1 ? (Nice idea BTW)
  • Everything related to designing and design tools

    135 411
    135 Topics
    411 Posts
    A
    Subject: Qt Design Studio 4.8: custom QML module is recognised and runs, but its section in the Components panel lists no items (designer/*.metainfo) Hi all, I have a small custom QML module that I want to appear as drag-and-drop items in the Components panel. The module resolves and runs, but its section in the Components panel has no arrow and no items. I have followed the documented steps and compared my files against Qt's own, and I am out of ideas. Any pointers would be appreciated. Environment Qt Design Studio 4.8 (qmlpuppet 4.8.3); kit in the status bar shows "Designer Qt 6.8.7" Windows, MSVC 2022 (x64), CMake with Ninja Module built with Qt 6.8.3 for MSVC 2022 64-bit (the only 6.8 kit the maintenance tool offered) Project file has enableCMakeGeneration: true The module (dummy names) A module "MyModule" with three plain QML types: ItemA, ItemB and ItemC (QtQuick only, no C++ code of my own). Folder form: MyModule/ qmldir ItemA.qml, ItemB.qml, ItemC.qml designer/ plugin.metainfo images/*.png (16px and 24px icons) qmldir: module MyModule typeinfo plugins.qmltypes ItemA 1.0 ItemA.qml ItemB 1.0 ItemB.qml ItemC 1.0 ItemC.qml designersupported plugin.metainfo (one Type shown, the others are the same shape): MetaInfo { Type { name: "MyModule.ItemA" icon: "images/itema-16px.png" Hints { visibleInNavigator: true; canBeDroppedInNavigator: true; canBeDroppedInFormEditor: true; canBeContainer: false; visibleInLibrary: true } ItemLibraryEntry { name: "ItemA" category: "My Category" libraryIcon: "images/itema-24px.png" version: "1.0" requiredImport: "MyModule" toolTip: qsTr("A sample item.") } } } I also built it as a module with qt_add_qml_module (URI MyModule, version 1.0, SHARED, DESIGNER_SUPPORTED, PLUGIN_TARGET set to the module's own target so that it is a single DLL) and copied the designer folder next to the generated qmldir. What happens "Add a Module" in the Components panel does not list MyModule. If I type "import MyModule" in the .ui.qml file, a "MyModule" section appears in the panel, but it cannot be expanded and has no items. importPaths in the .qmlproject: if the module sits outside the project folder (absolute path), the canvas and Navigator cannot resolve its types (no warning), although the app runs. If the module is inside the project ("imports" and "." in importPaths), the types resolve, appear in the Navigator and canvas, and their properties are editable. The Components panel stays empty in both cases. Built module with the .qml files present: same as 2 (types resolve, panel empty). Built module with the .qml files removed and a single DLL: the Run button works, but the types disappear from the canvas and Navigator. So the editor seems to need the .qml source, while the runtime can use the compiled module. The Issues and Output panels show no errors after I declared the module's folder in the project file (QmlFiles, ImageFiles, and Files for qmldir and *.metainfo). Design Studio's own qml.exe and Qt 6.8.3's qml.exe both load the built module and show the types, so the module itself is valid. What I have tried (no change in the Components panel) Icon references as :/qtquickplugin/..., :/ItemLibrary/..., and relative paths to PNGs next to the metainfo file; with and without libraryIcon, Hints and toolTip One metainfo file per type, then a single plugin.metainfo A stub plugins.qmltypes with a typeinfo line Keeping two copies of the module identical, in case a stale one was being read Closing and reopening the project after every change Comparing against Design Studio's built-in itemLibrary/*.metainfo files and Qt's QtQuick/Controls/designer/qtquickcontrols2.metainfo: the structure of mine is the same Following the six documented steps, including building the module with a Qt of the same minor version as Design Studio (6.8.3 against 6.8.7) [image: 6502e6a2-170b-491a-b49f-60c4f885ea37.png] Questions Is a QML-only module with designer/*.metainfo supposed to populate the Components panel in 4.8, or does it need a C++ plugin type or some other structure? Is there a log or environment variable that shows whether and why a metainfo file is rejected? I see nothing in Output or Issues. Is there a cache for item-library entries that needs clearing, and where is it stored? Does the editor really need the .qml source of a custom module to show its types, or is there a way to give it a compiled-only module? I can attach the module folder and the .qmlproject if that helps. Thanks in advance.
  • Everything related to the Software Quality Tools

    97 272
    97 Topics
    272 Posts
    C
    This had been reported to Squish technical support team, and closed on behalf of the reporter. Unfortunately it was not possible to identify a clear cause so far.
  • Everything related to learning Qt.

    403 2k
    403 Topics
    2k Posts
    A
    [image: 8eb48c3b-acfe-413e-a66c-abdccae786dc.png]
  • 2k Topics
    13k Posts
    jsulmJ
    @VikMorroHun said in blocked: cmake: command not found: In Linux I got more than 6000 hits How did you search to get 6000 hits?
  • 4k Topics
    18k Posts
    C
    找到原因了,账号密码错误导致的
  • This is where all the posts related to the Qt web services go. Including severe sillyness.
    1k 10k
    1k Topics
    10k Posts
    P
    Unless I misunderstand, this topic was written when this forum used Textile, which explains why some of the above have broken formatting. This question is therefore no longer relevant for this forum. That being said, to anwer this question should anyone else land on this topic from a search engine, this should (now?) be possible. 🅭🄍