Error with Qt 6 and autotools

Enrico Forestieri forenr at lyx.org
Fri Aug 25 19:53:00 UTC 2023


On Fri, Aug 25, 2023 at 08:45:41PM +0200, Cor Blom wrote:
>Op 25-08-2023 om 17:58 schreef Enrico Forestieri:
>>On Fri, Aug 25, 2023 at 03:32:50PM +0200, Cor Blom wrote:
>>>
>>>Op 25-08-2023 om 13:01 schreef Enrico Forestieri:
>>>>After that, please report the output of the following commands:
>>>>
>>>>$ make -s INCPATH
>>>>$ make -s LIBS
>>>>$ make -s EXPORT_MISSING
>>>
>>>For all I get:
>>>
>>>make: *** No rule to make target etc.
>>>
>>>What am I missing?
>>
>>Do you get a Makefile after issuing the command "qmake6 test.pro"?
>>If yes, please send it as an attachment, otherwise I am baffled.
>>
>
>One last effort: I did first:
>
>$ qmake6 -project

This simply creates <curdir>.pro (curdir being the name of the current 
directory) that in turn includes test.pro. Thus, this is an unnecessary 
step.

>Then I did
>
>$ qmake6 test.pro
>
>The other commands still gave the message "No rule to make target etc."
>
>I did get a Makefile. See attached.

The Makefile you get is not related to the test.pro file I attached 
previously. Please, make sure that test.pro is not an empty file (I also 
get a useless Makefile by using an empty test.pro). For your 
convenience, I am attaching again the test.pro file.

-- 
Enrico
-------------- next part --------------
QMAKE_EXTRA_VARIABLES = MISSING
qtHaveModule(core)		{QT += core} else {MISSING += core}
qtHaveModule(concurrent)	{QT += concurrent} else {MISSING += concurrent}
qtHaveModule(gui)		{QT += gui gui-private} else {MISSING += gui}
qtHaveModule(svg)		{QT += svg} else {MISSING += svg}
qtHaveModule(svgwidgets)	{QT += svgwidgets} else {MISSING += svgwidgets}
qtHaveModule(widgets)		{QT += widgets} else {MISSING += widgets}
percent.target = %
percent.commands = @echo "\$(\$(@))"
QMAKE_EXTRA_TARGETS += percent
QMAKE_PROJECT_DEPTH = 0


More information about the lyx-devel mailing list